Skip to Content

Filter in tree table?

Dec 01, 2016 at 10:02 AM


avatar image

Hello colleagues,

May I ask that is there anybody achieve filtering in tree table? I tried several ways, but it doesn't work.

Tree table view code is like below:

And in the controller, code for table binding is like below:

And filtering code is like below:

But the result is no data though there is data matched to the filter condition.

Anyone can help on this? Thank you!

Kind Regards,


ui.png (70.1 kB)
bind.png (13.2 kB)
filter.png (35.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jun Wu Dec 01, 2016 at 08:24 PM

are u using jsonmodel for the tree table?

for my case, I don't need any code to do the filtering.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks for your reply, Jun

Yes, I use the JSON model for the tree binding. I add a search field for the tree table, and when user input content in this field, it will trigger the filter event. And it doesn't work, sad...

Could you please share the implementation with me? Thank you again.


Hello, I'm Also using a tree table and I have the same problem. Is there anyway to use filtering like in a table(not sap.m.table) in a tree table other than using building filter ?