Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tanu on Aug 19, 2009 20:58
open dhtmlx forum
DhtmlxGrid Disable Scrollbar

Hi ,

I want to disable the scrollbar from DhtmlxGrid . By default , it does not come , but I have a filtering on the grid on clicking a button . When I click the button and the grid is getting filtered , scrollbar appears , but I don't want it to come.

Is there any property to disable the scrollbar completely.

Thanks
Answer posted by Support on Aug 20, 2009 06:10
You can 
a) enable auto-width and auto-height
           grid.enableAutoWidth(true);
           grid.enableAutoHeight(true);

b) disable scrolls directly in DOM
           grid.objBox.style.overflowX = "hidden";
           grid.objBox.style.overflowY = "hidden";