Adding a Search Filter to the Columns Table in Organize Table Form #1371
nisrael
started this conversation in
Show and tell
Replies: 1 comment
-
Thank you for sharing this! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It’s great to have a place again to discuss Eclipse Scout! Here’s a question I originally wanted to post on StackOverflow but realized it wasn’t the right place. In the meantime, by revisiting the Scout RT code, I found a solution.
Problem:
In our application, we use
TablePages
with many columns. Finding the right column in the "Organize Table" form is difficult because the Columns table does not have a search function. However, the Saved Settings table in the same form does have a search function.I wanted to know if it was possible to add a similar search function to the Columns table.
Solution:
It turns out that adding this functionality is relatively simple! The text filter functionality is already part of the table but disabled in the Columns table.
There is also an
@ApplicationScoped
factory calledOrganizeColumnsFormProvider
, which creates the "Organize Columns" form. By replacing this provider, we can enable text filtering in the Columns table.Here's how to do it:
Beta Was this translation helpful? Give feedback.
All reactions