When adding the sorting feature to our grid, we are setting the "Type" to Local. However, whenever a user clicks on one of the column headers to sort the columns, the grid still hits our datasourceurl. What could be causing this? It seems pretty straightforward, so if there are any known bugs / issues with local sorting when using a datasourceurl, please let me know so I can work around them.
Side note: "Type" is a bad name for this property IMO. One idea would be to just make it a bool called "Remote" unless you think there will ever be a third option beyond local and remote.
Hi Josh,
are you using the MVC wrapper for the grid? It should be pretty straightforward , yes. I am not sure what could be the issue, if you can show me some of your code that would greatly help.
we have an online sample which is configured in a very similar way to what you've described:
http://es.infragistics.com/products/jquery/sample/grid/local-sorting
Local sorting with a DataSourceUrl. And it doesn't do remote requests. Could you have a look and compare with your code?
Thank you
Angel
Thanks Angel! I'll check out the example and let you know if there are any issues.