开发者

Change the names of the parameters posted to server in jqgrid

开发者 https://www.devze.com 2023-03-03 02:38 出处:网络
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 a

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

精彩评论

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