Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Om Prakash Reddy on Apr 01, 2008 23:59
open dhtmlx forum
Grid Scroll bars issue with version v.1.5 build 80319

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();
Answer posted by Support on Apr 02, 2008 00:39
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 )


Attachments (1)