Last week we ahve migrated from older version of grid to latest version v.1.5 build 80319
now we are getting both scrollbars for the grids.
We are using enabeAutoHeight and enableAutoHeigth property also
We dont want to have any scrollbars. Here is the code sample for your reference
if(membersGrid == null)
{
membersGrid = new dhtmlXGridObject(‘resultsGrid’);
membersGrid.selMultiRows = true;
membersGrid.setImagePath("…/…/Images/");
//set columns properties
membersGrid.setHeader(“SGENNO,Name,Level”);
membersGrid.setColTypes(“tree,link,ro”);
membersGrid.setInitWidths(“270,300,60”);
membersGrid.setColAlign(“left,left,center”);
membersGrid.enableMultiline(true);
membersGrid.setOnRowCreated(rowCreated);
membersGrid.enableTreeCellEdit(false);
}
else
{
membersGrid.clearAll();
}
membersGrid.enableAutoHeigth(true);
membersGrid.init();
Problem can’t be reconstructed - the sample with attached initialization code works correctly ( attached )
The horizontal scroll will appears if width of container lesser than summ of columns widths ( can be changed by grid.enableAutoWidth )
1207122629.ZIP (1.3 KB)