I am using Kendo grid in my Grails app and my requirement is to sort "date" column in descending order as soon as the row get inserted, so that most recent date comes at the top row in the grid.
How do I sort by the date column?
Default sort criteria is a property on your dataSource:
sort: { field: "date", dir: "desc"}
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