scale icon indicating copy to clipboard operation
scale copied to clipboard

Add color-coding for tags-cell in data-grid

Open ledex opened this issue 2 years ago • 0 comments

Describe the feature request It would be nice to have some sort of color-map for the tags-cell in the data grid so that tags will be colored based on their value.

Describe the use case Being able to see important tags at a glance and have an easier correlation between tags (Currently all tags are grey).

Describe alternatives you've considered N/a

Additional context The definition of the color-map in the tags-field could look something like this:

dataGrid.fields = [
  {
    type: 'tags',
    label: 'Status',
    defaultColor: "grey60",
    colorMap: {
      DONE: "green60",
      IN_PROGRESS: "orange60",
      FAILED: "red60"
    }
  }
];

ledex avatar May 23 '22 09:05 ledex