Searchbar for TreeDataGrid hides entries

Hi there,
working with jmix 2.6,
I encountered a slight problem when searchbar filters to some entries, but all of them are on a lower hierarchy level .
Because the highest hierarchy becomes hidden because of that filter setting, the lower ones keep hidden.

Thanks for ideas on how to keep the higher ranked entries visible though search does not match for them.

best regards
HP

Hello!

Did you try the showOrphans attribute? This attribute enables displaying items as root items if they don’t have a parent in the container.

1 Like

Thank you Roman,
I will return to this later on, because in some cases it would be helpful to have the parent entry visible, too. If children/orphans move to top level, they become visible next to other top level elements that match the filter. Even with some row renderer, which sets different styles for top level and lower level entries, the table shows up a little bit confusing…
But for now, the solution works better than before.
:slight_smile: