jQuery UI Widgets Forums TreeGrid treegrid filter only leafs

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • treegrid filter only leafs #81082

    jahnvi25
    Participant

    i am using Filter API.. is there a way just to include ONLY children(leaf level) while filtering. and show nodes if it matches filter condition.

    thanks

    treegrid filter only leafs #81111

    Hristo
    Participant

    Hello jahnvi25,

    jqxTreeGrid is a Hierarchical Grid and the returned Data is Hierarchical Array as well. Each record may have sub records stored in its own “records” Array.
    And for this reason be default always shows parent and child together. If you want to get flat list, you need to set this array with some custom logic.
    Or make some workaround that disable parent with CSS and/or lockRow method, please take a look this example: http://jsfiddle.net/9xunqzra/

    Best Regards,
    Hristo Hristov

    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.