jQWidgets Forums

jQuery UI Widgets Forums Grid Nested grid from the same json

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Nested grid from the same json #56217

    lev_povolotsky
    Participant

    Hi,

    I have this JSON:

    {
        "selecteddate": {
            "result": [
                {
                    "runResultId": 12837,
                    "runId": 8753,
                    "Name": "Lev",
                    "host": "Isr"
                }
            ],
            "totalrecords": 1
        },
        "previousday": {
            "result": [
                {
                    "runResultId": 12837,
                    "runId": 8753,
                    "Name": "Lev",
                    "host": "ldn"
                }
            ],
            "totalrecords": 1
        }
    }

    I want to take all the details from selecteddate as main Grid and to created nested grid from previousday
    the connection between the main grid and the nested one according to Name.

    Can someone help me because I have a problem to read the data once and to build the nested and to do the join according to name.

    Thanks a lot

    Nested grid from the same json #56276

    Dimitar
    Participant

    Hello lev_povolotsky,

    We suggest you create two different data adapters bound to the same data source and mapped according to the data required for the main and nested grids. Then you can use these data adapters as in the demo Nested Grids.

    Best Regards,
    Dimitar

    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.