Tag Archives: grid

Adding data to jqGrid

Here is the jqGrid documentation for addRowData method to add the record. Some variations of addRowData method are below. 1. Add row before specified row var grid = $(“#GridId”); // jqGrid instancevar newRowId = $.jgrid.randId(“new”); // rowId with custom prefix to random numbervar dataItem = {prop1: val1,prop2: val2…}; // Json object holding the data for […]