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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -