2014-09-26 46 views

回答

1

您需要在更新功能配置列設置和readonly設置爲true你想成爲不可編輯的列的更新:

$(element).igGrid({ 
    features: [ 
     { 
      name: "Updating", 
      columnSettings: [ 
       { columnKey: "Key", readOnly: true } 
      ] 
     } 
    ] 
}); 

Here's the API docs.

+0

感謝。現在我看到我不明白列設置api的權利。我認爲igGrid.columnSettings是唯一的方法,其他功能中的其他功能只是多餘的方式。 – 2014-09-29 13:06:09

+0

@OgnyanDimitrov嘿:) columnSettings是特定於每個功能,所以是的,他們不是多餘的! – 2014-09-29 13:11:47