1, the Dhtmlxgrid bottom always appears scroll bar
------------------------------------------
Discover when using Dhtmlxgrid
There are always scroll bars at the bottom of the GRID
Test: (1) with Dhtmlxgrid original file test, no;
(2) Copy the original document to the project;
(3) Add your own CSS, scroll bar appears.
Find out why: There is a problem with your CSS.
But their own CSS is not very convenient to modify, involving too much.
Use Firebug to see it a little bit.
Found: Gridbox has two DIV one is GRID_HRD, one is Grid_obj
div no problem set to 100% or there is
One more step. Grid_obj inside is a table,table set to 100% or scroll bar appears
Then see the TH in TR, found that I set the 150PX, not a particularly large,
And I remember what I set out to be
Mygrid.setinitwidths ("150,*");
How come it's so big?
Mygrid.setinitwidths ("150,600");
It doesn't appear, but I think the last line takes up the rest of the whole thing.
Mygrid.setinitwidths ("150,auto");
The scroll bar is missing.
But there's a problem: The last column is full, but the column width is only self-adapting.
DHTMLX Usage Summary