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

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”;