How to remove all rows from a Kendo grid
I am using Kendo grid . I want to remove all rows from Kendo grid using JavaScript . I removed them using a for loop but I want to find the best way to remove all rows. try following code. $("#Grid").data('kendoGrid').dataSource.data([]); for demo click here That doesn't really move the underlying data of the grid, it just clears the rows being displayed. If you sort the "empty" grid, all the rows reappear form the underlying data. If instead of removing your data as shown like this: dataSource.data([]); and instead replace it with a new array of data, say called result.Data.. like this: