Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
Unable to update hidden column cell
posted

Getting a "cannot call methods on igEditorFilter prior to initialization: attempted to call method 'remove'" error when trying to update a hidden column cell.

<table id="grid"></table>

$("#grid").igGrid({

    primaryKey: "HiddenID",
    autoCommit: true,
    columns: [{ headerText: "HiddenID", key: "HiddenID", dataType: "number", hidden: true },
              { headerText: "Date", key: "Date", dataType: "string" },
              { headerText: "Comments", key: "Comments", dataType: "string" },
              { headerText: "Hidden Column", key: "HiddenCol", dataType: "string", hidden: true }
             ],
    features: [{
        name: "Updating",
        editMode: "row",
        editRowEnding: function (evt, ui) { if (ui.rowID > 0) $("#grid").igGridUpdating("setCellValue", ui.rowID, "HiddenCol", "testing"); }
    }]
 });

Parents Reply Children
No Data