This question is locked. New answers and comments are not allowed.
Hello. I'm using the MVC Grid on my page, and I just realized that when I call .Sortable() on the grid, the grid appears to be trying to sort my data for me rather than expecting my code to sort it in the controller before binding the grid to the data. I'm actualy converting a WebForms app to an MVC app, and my WebForms RadGrid didn't do this, and I can't figure out how to turn it off.
I'm using LINQ to SQL, but my data must undergo some transformation before it's "presentable", so I have to sort the data myself before giving it to the grid. How do I disable this built-in sorting and instead just rely on the "orderBy" parameter being passed to my controller and sort it myself? Note, of course, I'm not trying to turn of sorting from the user's perspective - I'm trying to turn off the "intelligence" in the grid that's trying to re-sort my data when I call "Render".
Thanks,
Patrick
I'm using LINQ to SQL, but my data must undergo some transformation before it's "presentable", so I have to sort the data myself before giving it to the grid. How do I disable this built-in sorting and instead just rely on the "orderBy" parameter being passed to my controller and sort it myself? Note, of course, I'm not trying to turn of sorting from the user's perspective - I'm trying to turn off the "intelligence" in the grid that's trying to re-sort my data when I call "Render".
Thanks,
Patrick