Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Custom sort example for MVC wrappers

$
0
0

Dear Dimiter,

As it is not possible to initialize a compare js function when using a MVC Wapper is it possible to add on after the page loads. With js and by calling the kendoGrid object .

var grid = $("#myGrid").data("kendoGrid);

grid.columns["ProductiName"].columns.sortable.compare = myfunction or functionfunction(){}

 

or

 

grid.columns[0].columns.sortable.compare = myfunction or function(){}

Yours,

 

Ariel

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles