Hexworks / zircon

Zircon is an extensible and user-friendly, multiplatform tile engine.
https://hexworks.org/projects/zircon/
Apache License 2.0
755 stars 138 forks source link

Make TableFragment scrollable #383

Open Baret opened 3 years ago

Baret commented 3 years ago

Is your feature request related to a problem? Please describe. The new TableFragment (see #185 and its PR #368) displays an observable list of data. But only the first N elements that can be displayed. Now that we have scrollable controls (issue #372, PR #373), I think it is time to marry it with the table fragment :)

Describe the solution you'd like In the TableFragment there is a "data panel". It is the VBox showing the rows of the table. This VBox should be scrollable so you can see all elements by scrolling down.

Describe alternatives you've considered Another way to give the user access to all elements of a table would be sorting or filtering, which are other features that could still be added to TableFragment (they still need their own issues).

Additional context I am not sure if the ScrollableList currently fits the current implementation of TableFragment. Maybe one of them needs a little update, but I didn't have a thorough look at ScrollableList (but I implemented TableFragment).