Skip to content

[Feat]: Expose data accessors and methods for controlling table column visibility #1979

@nangelov-eti

Description

@nangelov-eti

Is your feature request related to a problem? Please describe.
Yes. Currently, the table component does not expose metadata or accessors for hidden column data, nor does it offer a programmatic way to control column visibility.

  1. Persistence of user preferences: It is not possible to store and reapply the user's column visibility preferences between page visits or sessions.
  2. Data export limitations: When exporting data from the table, there is no built-in way to filter or include only the currently visible columns, since visibility state is not exposed.

Describe the solution you'd like
I would like the table component to expose:

  1. A property like table.hiddenColumns that returns an array of currently hidden columns.
  2. A method such as table.hideColumns(columns: string[]) to hide columns programmatically.
  3. A complementary method such as table.showColumns(columns: string[]) to update the visible columns explicitly.

Metadata

Metadata

Assignees

Labels

Awaiting ReleaseTicket is Dev Complete. Awaiting for the Release.Javascript FrontendPull requests that update Javascript codeTable ComponentAll things related to Table component

Projects

Status

👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions