jupyterlab-spreadsheet-editor
jupyterlab-spreadsheet-editor copied to clipboard
Color column does not show colors properly if header row is enabled
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:

Invalid colors with header row:

Reproduce
- Create a CSV file.
- Add a column with
colortype. - Add a header row and several other rows with different colors.
- 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