开发者

Change the names of the parameters posted to server in jqgrid

On submitting the edit form in jqgrid it post the entity-id as id=some_value. How I can change t开发者_开发问答he name of the parameter from id to Id, that saves my life in ASP.NET MVC model binding at server side.


You can use prmNames parameter to rename any jqGrid parameter. For example

prmNames: {id:'Id'}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜