Skip to content

Add options for default column order #2504

Open
@theolundqvist

Description

@theolundqvist

New Feature / Enhancement Checklist

Current Limitation

With many columns we often want to see ex username and email before other less relevant fields. Currently the four system columns appear first and then the rest of the fields have a random? order.

Feature / Enhancement Description

Forcing the columns to be in the same order that is specified in the columnPreference field. All non-mentioned columns can come in a random order in the end.

  apps: [
    {
      columnPreference: {
        "_User": [
             { name: "objectId" } // first column
             { name: "username" } // second column
         ]
      }
    },
  ],

Example Use Case

All dashboard users store their own ordering in localStorage, but I don't want everyone to need to create their own order for 10ths of classes. It would be good to provide a sensible and customised default for all users.

Alternatives / Workarounds

None which I am aware of.

3rd Party References

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions