I am trying to reset column sorting (see image above) so that there is no down or up arrow.
I've tried $("#grid").data("kendoGrid").refresh()
to redraw the grid but it doesn't unsort the column. Any thing else I can try beside refreshing my browser?
By default, the Grid applies single-column sorting when the Sortable() method is enabled. Alternatively, you can configure single-column sort mode by setting the [ SortMode ]{% if site. core %}(/api/Kendo.
The Kendo UI grid widget supports static/frozen columns by a single configuration setting. Simply set the locked attribute of the corresponding column to true, and this will bring the column in the locked columns group positioned on the left in the grid.
Grid with mixed column sorting enabled To multi-sort the columns, hold the "CTRL" key and click the columns header. A single-click (without holding the "CTRL" key) on any column un-sorts the currently sorted columns and applies single-sorting to the clicked column.
Try:
$("#grid").data("kendoGrid").dataSource.sort({});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With