jQWidgets Forums

jQuery UI Widgets Forums DataTable Nested DataTable with lazy load

This topic contains 2 replies, has 2 voices, and was last updated by  Hristo 5 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Nested DataTable with lazy load #107849

    filossof
    Participant

    Hi all

    I would like to create a nested data table.
    First level will show some data I got from a JSON (using url).
    And then, *only* when I expand a row, I need to create a url (using some logic) to display info inside.
    By now, I only managed getting my JSON in the ‘beforeCreate’ hook. Which means I can’t create my inside URL…

    Is there any way of doing that?

    Thanks!

    Nested DataTable with lazy load #107850

    filossof
    Participant

    Perhaps using the rowExpand event?

    Nested DataTable with lazy load #107869

    Hristo
    Participant

    Hello filossof,

    Yes, you could try to use this approach to set the data when the rowExpand event.
    As I understand you use the Vue and we have an example that has a nested jqxDataTable.
    You could find it in the demos section for React.
    Each one demo has the App.vue” tab with the source code of the demo.
    Also, you could find all the demos with the source in the demos” folder in the download package.
    Please, take a look at this demo.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.