jqGrid reload grid

前端 未结 2 1351
时光取名叫无心
时光取名叫无心 2020-12-10 04:11

It\'s an addition for previous my question about adding columns into jqGrid-based table. Here my new js-code:

var col_names = [\'First\', \'Second\', \'Third         


        
2条回答
  •  暖寄归人
    2020-12-10 04:27

    try not to Destroy/Create, but .trigger("reloadGrid");

    UPD:: try to pass loadonce:false to grid creation params

    UPD2:: Seemed like jQgrid cant operate with column changes "On fly". Try to destroy first grid and create another one instead of it.

提交回复
热议问题