Skip to navigation
How to add an empty row to a free-jqgrid table
23.10.19
1. in my grid ini function: loadComplete: function (){ add_empty_rows(); } 2 add new function called after the grid was filled and completed: function add_empty_rows() { let o = {id:'',1:'',2:'',3:'',4:'',5:'',6:'',7:'',8:'',9:'',10:'',12:''}; jQuery("#grid").jqGrid('addRowData','lastId' ,o,'after','myrowid'); jQuery("#grid").jqGrid('addRowData','lastId' ,o,'after','foo'); jQuery("#grid").jqGrid('addRowData','lastId' ,o,'after','bar'); }
https://dotnettekki.com/jqgrid/
Reply
Anonymous
Information Epoch 1732625204
Don't do anything the computer can do for you.
Home
Notebook
Contact us