Skip to content

[Lens] Hierarchical header for splitted columns in data table #94433

@flash1293

Description

@flash1293

If columns are splitted multiple times in Lens, the values are repeated
Screenshot 2021-03-11 at 15 27 47

By having a two-row header with colspan it would be possible to group the columns, making it much easier to read the table:
Screenshot 2021-03-11 at 15 35 08

It's omitted in the screenshot, but there can be a separate layer to this hierarchy which is the metric (as it's possible to use multiple metrics in the table). If we are using multiple metrics, they can simply be shown as the lowest level in the hierarchy.

If there is just a single metric, we could do multiple things:

  • also omit this level as it isn't adding useful information in most cases
  • make it configurable whether this level is shown
  • show the metric as the top level in the hierarchy

Screenshot 2021-03-11 at 15 38 45

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultimpact:needs-assessmentProduct and/or Engineering needs to evaluate the impact of the change.

    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