jupyterlab-spreadsheet-editor icon indicating copy to clipboard operation
jupyterlab-spreadsheet-editor copied to clipboard

Color column does not show colors properly if header row is enabled

Open girgink opened this issue 4 years ago • 0 comments
trafficstars

Description

If the type of a column is selected as color and "First row as header" option is enabled, color values are displayed not with their corresponding colors, but with the color in the first non-header row. If header row is disabled they are displayed properly.

Valid colors without header row: color-column-valid

Invalid colors with header row: color-column-invalid

Reproduce

  1. Create a CSV file.
  2. Add a column with color type.
  3. Add a header row and several other rows with different colors.
  4. Toggle header row on and off

Expected behavior

Enabling or disabling header row should not affect the display of the colors.

Context

  • Operating System and version: Ubuntu 20.04
  • Browser and version: Firefox 91.0.2
  • JupyterLab version: 3.1.9

girgink avatar Aug 28 '21 18:08 girgink