Clarity: Datagrid: Reorderable columns

Created on 23 Nov 2016  路  14Comments  路  Source: vmware/clarity

[ ] bug
[x ] feature request
[ ] enhancement

Expected behavior

The column width of the datagrid is controlled by the size of the data in the cells. It would be really useful for the user to have control over the column width by dragging the column headers.

It would also be really useful if the user could also drag and reorder the columns.

These changes will make data analysis much easier for the user.

Environment details

  • Angular version: 2.1.0

  • Clarity version: 0.7.0

  • OS and version:

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

enhancement

Most helpful comment

Hi @marvinosswald
The first piece of this was creating a general drag-and-drop directive. That's in review now.

After that is completed, we will move on to applying drag-and-drop to the columns of the datagrid.

All 14 comments

We have a design for "column selection", meaning the user gets to choose which columns are displayed.

This, however, is a different feature that needs to go through the UX team for evaluation and a first design. We can't give you a timeline on this yet, we need to evaluate the priority compared to other Datagrid enhancements.

Thank you for the suggestion.

Closing since it will be addressed in: #621 so this becomes a duplicate. Thanks for filing and hope to see it land in Clarity soon!

Actually, @Shijir just pointed out that re-ordering columns won't land with #621 so reopening this ticket to keep track of that request.

We need to understand use cases to determine priority and difference between this request and displaying columns in the most logical order.

We discussed this and won't be implementing sortable columns. Here are the reasons why:

  • If we enabled this, we make it easy for teams to put the responsibility on users to sort things. Teams should be doing their diligence to know the best order for the columns of a datagrid
  • even if teams aren't able research to know what the best order is, they should be able to change it easily based on user feedback

Hi @reddolan - we have cases where screens are used by many people with different roles. Due to this, a set of columns that may be most interesting to one user may not be for another. By allowing the user to reorder them, we would be able to address the needs of users working in different roles. Can we take another pass at evaluating this? Thanks.

@reddolan
Based on @bdunkz use case, do you see this as a viable feature to include in Clarity?

@mathisscott & @bdunkz, yes this case makes sense to have the ability to rearrange columns. We will also need to be explicit in docs on how it should be used to keep from being used everywhere and unnecessarily weighing down page experiences.

I think we're missing one of the main reasons this was closed.
The UX team decided at the time that having both resizable columns and hide/show capabilities on columns allowed the user to display exactly the relevant information on the screen at all times. As such, it served exactly the same use case as reorderable columns, and introducing all 3 features just bloated the datagrid design for duplicate solutions.

In other words, we had:

  • Resizable columns
  • Hide/show columns
  • Reorderable columns

We picked 2 out of 3, because all 3 would be redundant.

If we decide to go back on this so be it, but I would like previous research and discussion to be considered in the decision, rather than pile on more features because why not.

@reddolan: We're trying to figure out if this is actually work needed for 1.0 or not. Any news on what the plan is?

Even if the answer is "we haven't looked over the research yet", at least we'll know to triage this as a UX task.

@mathisscott any update here ?

Hi @marvinosswald
The first piece of this was creating a general drag-and-drop directive. That's in review now.

After that is completed, we will move on to applying drag-and-drop to the columns of the datagrid.

The design is ready, follow #1826 for updates.

Hi there 馃憢, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spitfjre picture spitfjre  路  33Comments

gnomeontherun picture gnomeontherun  路  27Comments

whizkidwwe1217 picture whizkidwwe1217  路  45Comments

reddolan picture reddolan  路  31Comments

lil-kim picture lil-kim  路  23Comments