This is a migrated thread and some comments may be shown as answers.

Custom server side sorting with DataSource option "Server()"

1 Answer 503 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Iron
Iron
Iron
Stefan asked on 25 Sep 2018, 09:29 AM

We would like to implement custom server side sort logic, while using the MVC wrappers with the Server() option in the DataSource. How can we achieve this?

Currently we're using the Ajax() option with Read(), and handling the DataSourceRequest, as a workaround.

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 27 Sep 2018, 07:11 AM
Hi Stefan,

The approach for handling the sorting on the server when the DataSource is configured with the Server() option is illustrated in the example below:


Give it a try and let me know how it works for you.


Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Stefan
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Viktor Tachev
Telerik team
Share this question
or