Horizontal scroll in grid

Hello,

I’m using dhtmlxgrid, and I have a problem.

I have horizontal scroll in my grids, and I don’t know why.

I use :

economy.setInitWidthsP(“10,15,15,13,15,,”);

but I always have a small horizontal scroll.

Thanks.

When you have few columns with autosize it possible that because of rounding error it may give 1px of extra width ( while it not reconstructable in local samples, it possible in theory )
You can fully disable horizontal scrolling in grid by next code line
    grid.objBox.style.overflowX = “hidden”;

If problem still occurs for you - please send any kind of sample where it can be reconstructed.