开发者

Add row in jqgrid

I am using jqGrid and it's working fine.

I have a scenario where I have to add a blank row in jqGgrid instea开发者_开发问答d of a popup to add the row.

How can I do it?


You can use for example addRowData. Look at jQGrid, how to add a new row inside the grid, not via a modal?.

Probably the answer Spreadsheet-like inline editing in jqGrid and the demo http://www.ok-soft-gmbh.com/jqGrid/ClientsideEditing5.htm could help you also.


from the jqgrid demo page, i see this:

jQuery("#list7").jqGrid('setGridParam',{rowNum:15}).trigger("reloadGrid");

see: http://trirand.com/blog/jqgrid/jqgrid.html manipulating -> set methods

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜