ASP MVC server side - trying to find a way to 'disable' sorting but keep pagination

ASP MVC server side - trying to find a way to 'disable' sorting but keep pagination

WolfgangJTWolfgangJT Posts: 4Questions: 3Answers: 0

I do not have code to display -- it is on an intranet network.

I have an issue with trying to generate my data table the way that I need it.

I am trying to do a custom sort on my data (hierarchically, I have a custom function which works) and basically completely disable any sorting the datatable will do on it. I get the data in the form that I like but when I try to go to the next page, it displays the same first x rows. as the initial page. I am using server side processing that runs an ajax query to retrieve the data, filter it, sort it, and display it. Normally it would work with the traditional method but I am wanting to skip the process of converting the data into an IOrderedQueryable<Class> and still be able to paginate.

Answers

This discussion has been closed.