sorting - MVC 4 Kendo UI Grid Column Names -
i'm using kendo ui grid , trying server side paging/sorting using ajax. sample server side method listing data shown below.
public actionresult listdata([datasourcerequest]datasourcerequest request)
when user clicks column header action method triggered , request parameter filled "sorts" attribute showing column name , sort direction.
for example, clicked column's name column_example in database table, in model named columnexample. request.sorts[0].member returns columnexample expected, i'm trying "column_example" can use dynamic sql make proper sorting (not using ef).
there way achieve want, couldnt find how so, in advance.
Comments
Post a Comment