小编DIS*_*GMT的帖子

当我使用gridview:true时,afterInsertRow:function(ids)方法没有执行

当我设置的GridView(GridView控件:真)在我们的jqGrid增加jqGrid的,就像方法的性能afterInsertRow,或者其他类似的方法不会被执行.以下是我的jgGrid的代码:

jQuery("#displaylistGrid").jqGrid({
    url: contextRoot + '/StandardProxy/displayListService?userRole='+
         userRole+'&userName='+userName+'&userId='+userId+
         '&duration='+displayDuration+'&wicNo='+wicNo+
         '&displayName='+dlDisplayName+'&displayNameArr='+displayNameArr+
         '&pointValue='+pValue+'&locationId='+locId+'&locationCode='+
         locCode+'&serviceType=forecast',
    datatype: 'json',
    colNames: ["CM Name", "Display ", "Loc. Pt.","Max. Ben." ,"Display Name",
               "Items w/Fcst", "Units", "Sales $", "Profit $", "GP%", "Units",
               "Sales $", "Profit $", "GP%","Hidden","Hidden1","Hidden2",
               "Start Date and End Date", "Hidden4"],
    colModel: [
        { name: "cm_name",      index: "cm_name",     sorttype: "text", width: 120,
          resizable: true },
        { name: "ds_location",  index: "ds_location", sorttype: "text", width: 120,
          resizable: true },
        { name: "ds_symbol",    index: "ds_symbol", …
Run Code Online (Sandbox Code Playgroud)

jqgrid

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

jqgrid ×1