jQuery UI Widgets Forums TreeGrid addRow is undefined

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • addRow is undefined #102172

    youkou
    Participant

    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

    addRow is undefined #102204

    Hristo
    Participant

    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);

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    • This reply was modified 1 year, 6 months ago by  Hristo.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.