I have a Kendo grid with inline editing set, so we are using Ajax as the datasource. On the initial load of the grid, the records are sorted by modified date descending and all is fine. The problem is that when you click on a page the _Read function loses the sort, because the Ajax call takes over. This is not an issue if I click on the Modified Date column and apply the sorting after the page loads and then click on a page link. Once I do that it will hold the sort. I understand why it does this, but we need to get it to persist the initial sort order without having to click on the column heading...it's an end user thing.
Is there a way to do this? I tried setting .ServerOperation(false) but it had no affect.
Neither did this
.Sort(sort =>
{
sort.Add(p => p.modifiedDate).Descending();
})
Thanks for your help
Paul
Is there a way to do this? I tried setting .ServerOperation(false) but it had no affect.
Neither did this
.Sort(sort =>
{
sort.Add(p => p.modifiedDate).Descending();
})
Thanks for your help
Paul