jQuery UI Widgets Forums TreeGrid custom element ids for jqxTreeGrid elements

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

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

  • rao
    Participant

    Hi jQWidgets Team,
    I have built the Tree structure using jqxTreeGrid. This was the recommendation as jqxTree wasn’t efficient with huge data.
    Now, the tree looks good.
    In order to take up for Element IDs, jqxTree was providing meaningful id, but NOT jqxTreeGrid.

    currently it shows as below, myTree was the div id.
    [@id=’row7myTree’]/td/span[3]

    Assume my data structure is as follows :
    1) json data:
    {
    id: ‘fruits’,
    lable : ‘Fruits’,
    items : [ ]
    }

    So, for sure, the data (especially ID attribute) in each level is unique. So i would like to have the ‘span’ or ‘td’ or ‘a’ of the data filed should have the ‘ID’ field of my json input given to jqxTreeGrid.
    Is there any possibility to achieve it ?

    2) Tree Structure.
    -All
    ——-Fruits
    ————-Peal
    ——————- Orange
    ——————- Chikku
    ——————- Pappaya
    ————-NonPeal
    ——————- Apple
    ——————- Guava
    ——-Vegetables
    ————- Roots
    ——————- Potato
    ——————- Beet Root
    ————- Leafy
    ——————- Mint
    ——————- Palak

    Regards,
    Rao.

    • This topic was modified 8 years, 4 months ago by  rao. Reason: Tree structure is not properly displayed
    • This topic was modified 8 years, 4 months ago by  rao. Reason: Tree structure display

    Dimitar
    Participant

    Hi Rao,

    The ids of jqxTreeGrid elements cannot affected by their content (or any data from the tree grid’s data source). Unfortunately, what you ask cannot be achieved. If you wish, please share more information about what you want to ultimately accomplish and we will think of a way to assist you.

    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.