Add Row

The editGridRow method is also used to add data to the server, by passing "new" as the rowid.

This method uses colModel and editurl parameters from jqGrid

Calling Convention:

jQuery("#grid_id").editGridRow( "new", options );

The options are the same as those in Edit row.

Notes

jqGrid adds two parameters to the values that are posted to the server:


to identify to the server that the operation is an insert.


  Last Updated: 4/1/2009 | © Tony's jqGrid - a jQuery Plugin, 2010