jQWidgets Forums

jQuery UI Widgets Forums TreeGrid JqxTreeGrid Filter Issue

This topic contains 6 replies, has 2 voices, and was last updated by  mohamedazher 10 years, 4 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • JqxTreeGrid Filter Issue #66359

    mohamedazher
    Participant

    Hi,

    I have a strange problem with filtering in Tree Grid. I have a dead simple tree grid with Parent as “Books” and Child as “Long Size” (Just 2 items). Now when i try to search for the term “Books”, I get only the parent node (cannot open it) If search for the term “Long”, I get 0 results even though the child item is there.

    I have seen in the examples that the search works on the child items as well, but it does not seem to work here.

    Example showing the problem:
    Problem Fiddle (Try searching for Books, Long. Just searching “o” gives both results as “o” in there in both words.

    Example where child search works”
    Working Example Fiddle (Try searching for Laura)

    Please do check out the fiddle above. Try searching for “Book” and “Long”. Why does the search for the term “Long” does not return any results?

    Looking forward for your reply.

    -Mohamed Azher

    JqxTreeGrid Filter Issue #66375

    Peter Stoev
    Keymaster

    Hi Mohamed Azher,

    Thanks for writing!

    If we see a problem, we’ll create a work item.

    Best Regards,
    Peter Stoev

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

    JqxTreeGrid Filter Issue #66376

    mohamedazher
    Participant

    Hi Peter,

    Is there any workaround for this issue? I have used a array datasource, should I use something else?

    It would be helpful if you can show some points to get around this issue.

    Regards,
    Mohamed Azher

    JqxTreeGrid Filter Issue #66379

    Peter Stoev
    Keymaster

    Hi Mohamed Azher,

    I do not know how you can get around this. If I knew, I would have suggested you something.

    Best Regards,
    Peter Stoev

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

    JqxTreeGrid Filter Issue #66395

    mohamedazher
    Participant

    Hi Peter,

    Thanks for the reply.

    I will try out something and let you know if I find some workaround.

    Regards,
    Mohamed Azher

    JqxTreeGrid Filter Issue #66403

    Peter Stoev
    Keymaster

    Hi Mohamed,

    Actually, the problem is found. It’s due to the usage of keywords like “parent”. It should be “parentid”. Ex: http://jsfiddle.net/jqwidgets/nfng5oLp/

    Best Regards,
    Peter Stoev

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

    JqxTreeGrid Filter Issue #66410

    mohamedazher
    Participant

    Hi Peter,

    Thanks for that, I just found that myself :-). Changing to parentid solved the issue.

    Thanks again for the support.

    Regards,
    Mohamed Azher

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.