Skip to content

[Data Grid] "Hide fields" doesn't pick up changing columns #2606

@walterra

Description

@walterra

In the transforms feature in the Kibana management section, a user can specify a persistent data transformation. In the wizard to create a transform we show a preview of the expected transform. It previews settings selected in the wizard's form, therefor the columns can change on an update. This works for the table itself and the "Sort fields" option, but the "Hide fields" setting is not picking up the updated columns. See the annotated screenshot below:

  • (1) At first EuiDataGrid gets mounted with 2 columns
  • (2) Changing the form to have neighbourhood as additional column updates the table itself (3) and the sorting options (5), but "Hide fields" still has the original 2 columns (4)

eui-data-grid-columns-0001

The issue can be reproduced using the branch from this PR: elastic/kibana#52510

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions