Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ram on Aug 05, 2009 05:46
open dhtmlx forum
enable Autohight

Dear sir,


i need horizontal and verticle scroll bar in grid and at the same time i need to use 'enableAutoHeigth=true' .


For example i have 50 records in the grid view. Under the grid i have ''Update" Button. When i dont' put ,'enableAutoHeigth=true' syntax then, there are some gap between grid data and 'Update ' button.
if i put that syntax( 'enableAutoHeigth=true' ) then there is no gap between grid data and 'Update ' button.

When i use 'enableAutoHeigth=true' that time i need horizontal and vertical scroll bar in the grid itself.

So what i have to do?

Thanks
Answer posted by dhxSupport on Aug 06, 2009 01:14
You can use 2nd parameter of the enableAutoHeight() method to set maximum height before scrolling appears:
 mygrid.enableAutoHeight(true,100);