It is possible to get the results of the filter out of the grid. Getting the filtered results in JavaScript To turn off the scrollbar, in the configuration set scrollable : false and the scroll bar will be removed. But for the paging in this example, the scroll bar is simply displayed but not enabled. This is useful if you have something to scroll, such as the virtualised scrolling feature. If you forget to put the pageSize in then the grid will display with all the elements, but the paging navigation bar will display a message such as “NaN – NaN of 150 items”īy default the grid is scrollable. To enable paging add to the configuration pageable : true and also remember to add in to the dataSource part of the configuration the However, if the amount of data runs into the hundreds of rows (or more) then you’ll probably want to turn paging on in order to make the display of the data more manageable for the user and potentially to reduce the amount of data send to the browser (but that part is for another day – in this example I’ll be using the same data set as previously which is loaded all at once). This means that when the grid is rendered you get all the data displayed in one go. pageable : trueīy default paging is turned off. Moving on slightly from my last post on the Kendo UI Grid we’re going to take a wee look at paging and accessing the results of the filter in javaScript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |