The DJME Grid offers both vertical and horizontal scrolling. By default, the grid's height is determined by the number of rows displayed within a page and is controlled by the Pagable(int index,int size) method. To fixed the grid's height and, you can display a vertical scrollbar and horizontal scrollbar by using the ShowScrollbar() method, and specify the height of the Grid (in pixels) via the Height(int value) method and specify the width of the Grid (in pixels) via the Width(int value) method.
By default, the grid's width is dependent upon the number of visible columns. If there are too many columns with in the Grid ,and you are already call the ShowScrollbar() method the horizontal scrollbar will be shown automatic.
<% Ajax.Dna().Grid() .ClientBind(Url.Action("ClientBinding", "Grid")) .Width(650) .Height(300) .ShowScrollBar() .... .Render(); %>