jqGrid - How to submit non editable columns with Add Row -


i doing inline add, using inline nav feature. sends data of "edit: true" columns, there 1 other column grid need send add. hidden column , using "editrules: { edithidden: false }, can send value edit, not add. how send hidden, non-edit columns add?

  { name: 'recipkey', index: 'recipkey', hidden: true, editable: true, editrules: { edithidden: false } },     ...    $("#activity-grid").jqgrid('inlinenav', '#grid-pager',     {         edit: true, add: true, del: true, cancel: true,         editparams: { keys: true },         addparams: { keys: true }     }); 

following reference http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods:

you can pass extraparam on addrowparams when use method addrow.

example:

jquery("#list").jqgrid('addrow',     parameters =     {         addrowparams : {extraparam:{ "param1":"1","param2":"2"}}     } ); 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -