jQuery UI Widgets Forums Navigation Tree Storing other data again item

This topic contains 17 replies, has 2 voices, and was last updated by  Dimitar 11 years, 3 months ago.

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
  • Storing other data again item #31684

    Dimitar
    Participant

    Hi realtek,

    Yes, it is possible, with some minor modifications:

    datatype = dataAdapter.records[item.index - 1].FieldType;

    This will work unless you have checked the first item (index 0 – 1 = -1). We recommend:

    datatype = dataAdapter.records[item.index].FieldType;

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Storing other data again item #48642

    realtek
    Participant

    Hi Dimitar,

    This works perfectly thanks.

    Is it possible to then store this against the actual treeItem or can this only be obtained from the dataAdapter each time?

    Thanks

    Storing other data again item #48658

    Dimitar
    Participant

    Hi realtek,

    As stated before, label and value are the only available fields for custom values. You cannot include custom fields. You have to access them through dataAdapter.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.