Skip to content
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

[Lens] Ability to order columns in datatable #147600

Open
dej611 opened this issue Dec 15, 2022 · 7 comments
Open

[Lens] Ability to order columns in datatable #147600

dej611 opened this issue Dec 15, 2022 · 7 comments
Assignees
Labels
enhancement New value added to drive a business result Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. needs design Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@dej611
Copy link
Contributor

dej611 commented Dec 15, 2022

Describe the feature:

Lens datatable orders columns by default with bucket dimensions first, metrics then.
Columns can be currently ordered indirectly via the layer configuration panel, sorting the metric/bucketed dimensions.

Perhaps a better UX can be provided to the user, enabling columns rearrange on the table itself.
Also, that can be enabled in dashboard as well, as temporary rearrange (like the columns sorting).

@dej611 dej611 added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Dec 15, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

@stratoula stratoula added the impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. label Jan 10, 2023
@MarianaMartinYuste2 MarianaMartinYuste2 changed the title [Lens] Ability to order columns in datatable [Reponse Required][Lens] Ability to order columns in datatable Mar 10, 2023
@MarianaMartinYuste2
Copy link

Hi there,
Is there any update on this request that can be shared with customer?
Thank you

@stratoula
Copy link
Contributor

I am pinging @ninoslavmiskovic here who is responsible for the team's roadmap.

@dej611 dej611 changed the title [Reponse Required][Lens] Ability to order columns in datatable [Lens] Ability to order columns in datatable Mar 10, 2023
@timductive timductive added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. labels Mar 22, 2023
@MarianaMartinYuste2
Copy link

Hi @stratoula @ninoslavmiskovic
If there are any news in this request, please share them here so that I can share with my customer.
Thanks!

@markov00
Copy link
Member

We can probably use elastic/eui#8015
cc @MichaelMarcialis

@teresaalvarezsoler
Copy link

We want to allow users do this on the client-side without the need of editing the dashboard. Ideally there will be two scenarios:

  • If the user makes the changes in "view" mode, the changes will only be visible and persistent for this user
  • If the user makes the changes in "edit" mode and then save the dashboard, the changes will be saved with the visualization and hence visible to all users.

@MichaelMarcialis
Copy link
Contributor

As @markov00 mentions above, EUI just recently added support for draggable column headers for the data grid component. This is something we can implement, as the Lens tables use the data grid component.

Additionally, if we plan to proceed with adding the "Columns" menu (mentioned in #193555), that also includes the ability to reorder columns via the menu as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. needs design Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

9 participants