jQuery UI Widgets › Forums › TreeGrid › addRow is undefined
Tagged: javascript treegrid, jquery treegrid, jqwidgets treegrid, treegrid
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 6 years, 2 months ago.
Hi,
I use TypeScript. Here is my code:
this._fileBrowser = jqwidgets.createInstance(this.divContainer, 'jqxTreeGrid', { width: 500, source: dataAdapter, showHeader: false, icons: true, columns: [ { text: 'Label', dataField: 'Label' } ] }); this._fileBrowser.addRow(null,{});
I get a message like function addRow is undefined
Hello youkou,
Thank you for this feedback. I would like to suggest you try to add on that way. this._fileBrowser['base'].addRow(null, { Label: 'Test1' }, null, null);
this._fileBrowser['base'].addRow(null, { Label: 'Test1' }, null, null);
Best Regards, Hristo Hristov
jQWidgets team http://www.jqwidgets.com
You must be logged in to reply to this topic.