Open RandallFlagg opened 9 years ago
I have the following code: var editableGrid2 = new EditableGrid("DemoGridJsData2"); var metadata =[]; metadata.push({ label: "", datatype: "boolean", editable: true }); metadata.push({ label: "ALabel", name: "AName", editable: true }); metadata.push({ label: "BLabel", name: "BName", editable: true }); editableGrid2.addRow(editableGrid2.data.length, { id: 0, values: { AName: "AAAAAAA", BName: "BBBBBBB" } });
This is what I get in chromium 45 and a similar error in IE11: Uncaught TypeError: Cannot read property 'insertRow' of undefined(…)EditableGrid._insert @ editablegrid-LATEST.js:1333EditableGrid.insert @ editablegrid-LATEST.js:1377EditableGrid.insertAfter @ editablegrid-LATEST.js:1389EditableGrid.append @ editablegrid-LATEST.js:1300EditableGrid.addRow @ editablegrid-LATEST.js:1312(anonymous function) @ VM1181:6InjectedScript._evaluateOn @ VM1094:904InjectedScript._evaluateAndWrap @ VM1094:837InjectedScript.evaluateOnCallFrame @ VM1094:963EditableGrid._insert @ editablegrid-LATEST.js:1333EditableGrid.insert @ editablegrid-LATEST.js:1377EditableGrid.insertAfter @ editablegrid-LATEST.js:1389EditableGrid.append @ editablegrid-LATEST.js:1300(anonymous function) @ VM1147:2InjectedScript._evaluateOn @ VM1094:904InjectedScript._evaluateAndWrap @ VM1094:837InjectedScript.evaluate @ VM1094:693
I have the following code: var editableGrid2 = new EditableGrid("DemoGridJsData2"); var metadata =[]; metadata.push({ label: "", datatype: "boolean", editable: true }); metadata.push({ label: "ALabel", name: "AName", editable: true }); metadata.push({ label: "BLabel", name: "BName", editable: true }); editableGrid2.addRow(editableGrid2.data.length, { id: 0, values: { AName: "AAAAAAA", BName: "BBBBBBB" } });
This is what I get in chromium 45 and a similar error in IE11: Uncaught TypeError: Cannot read property 'insertRow' of undefined(…)EditableGrid._insert @ editablegrid-LATEST.js:1333EditableGrid.insert @ editablegrid-LATEST.js:1377EditableGrid.insertAfter @ editablegrid-LATEST.js:1389EditableGrid.append @ editablegrid-LATEST.js:1300EditableGrid.addRow @ editablegrid-LATEST.js:1312(anonymous function) @ VM1181:6InjectedScript._evaluateOn @ VM1094:904InjectedScript._evaluateAndWrap @ VM1094:837InjectedScript.evaluateOnCallFrame @ VM1094:963EditableGrid._insert @ editablegrid-LATEST.js:1333EditableGrid.insert @ editablegrid-LATEST.js:1377EditableGrid.insertAfter @ editablegrid-LATEST.js:1389EditableGrid.append @ editablegrid-LATEST.js:1300(anonymous function) @ VM1147:2InjectedScript._evaluateOn @ VM1094:904InjectedScript._evaluateAndWrap @ VM1094:837InjectedScript.evaluate @ VM1094:693