Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ricard on Apr 02, 2008 02:10
open dhtmlx forum
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.
Answer posted by Support on Apr 02, 2008 03:53
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.