Hi,
I'm loading a partial view via ajax and then modifying the DataSource in JavaScript.
How do I load the modified DataSource into the grid?
I've tried:
var gridObj = $("#MyGrid").data("ejGrid");
gridObj.dataSource(ModifiedData);
but I get the following error:
ej.web.all.js:114408 Uncaught TypeError: Cannot read property 'find' of null
On this line: this.getContentTable().find("colgroup").first().replaceWith(this._getMetaColGroup());
Many thanks,
Avi