Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kendo UI Grid ASP.NET MVC Wrapper ParameterMap

Is there a way to define the parameterMap option for a Kendo UI Grid via the server side ASP.NET MVC wrappers?

I need to change local time into UTC time before sending up a filter command to the server, and this appears to be the only way to do it.

like image 618
RMD Avatar asked Nov 03 '22 00:11

RMD


1 Answers

Sort of...

You can specify a string as the parameterMap setting, and this string can either be a JavaScript function directly, or the name of a JavaScript function that is found on the page.

.parameterMap("myParamMapFunction");

or

.parameterMap("function(data){ /* do stuff with the data */}");

like image 133
Derick Bailey Avatar answered Nov 15 '22 05:11

Derick Bailey