Skip to content

Grid component: Expressions to hide entire rows/columns/cells #1211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
olemartinorg opened this issue May 30, 2023 · 0 comments
Open

Grid component: Expressions to hide entire rows/columns/cells #1211

olemartinorg opened this issue May 30, 2023 · 0 comments
Labels
area/logic related to logic/dynamics/expressions area/table related to grid/list/repeating groups kind/feature-request New feature or request

Comments

@olemartinorg
Copy link
Contributor

olemartinorg commented May 30, 2023

Description

In #107, it's mentioned that it should be possible to hide rows/cells/columns in table components. This seems most applicable and useful to the Grid component. That mention has been extracted to this issue.

It should be possble to put these expressions on both a row and cell configuration, possibly also with an expression on the cell-level on the first cell in the table where it is possible to hide an entire column.

Make sure that:

  • Hiding a row/column/cell also hides the component(s) within them. Expressions looking up the ["component", ...] value for a hidden component should return null even if the component has data in the data model.
  • If colSpan and rowSpan has been implemented, hidden rows/columns hide the rows/columns they span over, and possibly inversely, are spanned by. This could get complicated, so take shortcuts where needed - but document them.

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/logic related to logic/dynamics/expressions area/table related to grid/list/repeating groups kind/feature-request New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant