jQuery UI Widgets Forums TreeGrid addRow is undefined

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 6 years, 2 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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.