I need a way to sort a rad grid using javascript of jQuery I want to avoid using a web service because no where else in the project makes use of a web service.
I bind to the grid using JavaScript and don't require a OnNeedDataSource event.
<ClientEvents OnRowSelected="RowSelected" OnRowDeselected="RowDeselected" OnCommand="RadGridCommand"/>
On the client RadGridCommand event I cancel default command to prevent postback/ajax request and check if the command is a sort event at this point i would like to provide a way to sort my grid.
//RadGrid Command function
function RadGridCommand(sender, args) {
args.set_cancel(true); //cancel the default command to prevent postback/ajax request
if (args.get_commandName() == "Sort") {
var sortExpressions = sender.get_masterTableView().get_sortExpressions();
Any suggestions would be much appreciated