This question is locked. New answers and comments are not allowed.
Hello.
I have a custom bound grid with .EnableCustomBinding(true), .Sortable() and 3 columns. at the controller I have this definition:
| [GridAction(EnableCustomBinding = true)] |
| public ActionResult _Index(GridCommand cmd) |
| { |
| // bleh.. bleh.. bleh.. |
| } |
The thing is that the "cmd" parameter comes with .Page and .PageSize, but when I click on a grid's header to sort by that column, the cmd's .SortDescriptors collection comes empty... (count = 0).
I've tried with Sortable(sort=>sort.SortMode(GridSortMode.SingleColumn)), with multiplecolumn, and with no parameters on Sortable. None of them work. Is that a fixed feature in sp1?
Thanks!