jQuery UI Widgets Forums TreeGrid 'source' recursive data property

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • 'source' recursive data property #69907

    dpibt
    Participant

    I’m trying to iterate through the source object to compare it with another source but I’ve seen that the data property is itself recursive so I can’t iterate, nor converti it to JSON.

    Is there any way to solve this?

    Thanks

    'source' recursive data property #69909

    Peter Stoev
    Keymaster

    Hi dpibt,

    “getRows” returns all Rows in that widget. If a Row has Sub-Rows, then you can access them through row.records property of the given row. Well, to compare each record with record in another data source, you will have to write your own Recursive function.

    Best Regards,
    Peter Stoev

    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.