You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is quite logical to expect TableView to treat its contents as individual cells rather than rows. It may not be a default behaviour (that needs to be discussed separately), but at least the mode parameter with "row", "column", "cell" as possible values would be a nice addition. That way, the following should ideally become possible:
Cell-wise/column-wise selection and hover effects
Cell-wise/column-wise styling (maybe support custom item-renderers for such modes as well)
Cell-wise/column-wise events (MouseEvent.CLICK is the most important one)
Optionally, it may be also convenient to simplify the logic corresponding to the datasource, i. e., allow the user to append columns to the column-based TableView in the exact same fashion as rows to the row-based TableView. For cell-based TableView, some another approach may be used (two-dimensional datasource maybe?).
Finally, at the moment, one may create a column header using the <header> tag, but there's no way to do the same for rows. This is also a feature that seems to be important and useful.
The text was updated successfully, but these errors were encountered:
Gulvan0
changed the title
Cell-wise and column-wise TableView logic
GridView component
Jul 20, 2022
It is quite logical to expect TableView to treat its contents as individual cells rather than rows. It may not be a default behaviour (that needs to be discussed separately), but at least the
mode
parameter with"row"
,"column"
,"cell"
as possible values would be a nice addition. That way, the following should ideally become possible:MouseEvent.CLICK
is the most important one)Optionally, it may be also convenient to simplify the logic corresponding to the datasource, i. e., allow the user to append columns to the column-based TableView in the exact same fashion as rows to the row-based TableView. For cell-based TableView, some another approach may be used (two-dimensional datasource maybe?).
Finally, at the moment, one may create a column header using the
<header>
tag, but there's no way to do the same for rows. This is also a feature that seems to be important and useful.The text was updated successfully, but these errors were encountered: