vmware-clarity/ng-clarity

Datagrid with open detail pane shows no data if the first column is hidden

martinbrom opened this issue · 0 comments

This is a bug report for the @clr Angular or UI versions of the design system.
For the web-component implementation of Clarity (@cds), visit vmware-clarity/core.

If you are a VMware employee or a contractor in VMware, please use our support channel in slack to raise Clarity issues.

Describe the bug

When opening the detail pane of a datagrid, the first column is shown by default.
image

However, if we hide the first column using the column picker in the bottom left:
image

then nothing will be shown alongside the detail pane.
image

How to reproduce

https://stackblitz.com/edit/clarity-light-theme-clr16-ue81db?file=src%2Fapp%2Fapp.component.html

Steps to reproduce the behavior:

  1. Hide the first column of the datagrid
  2. Open the detail pane
  3. See, that no data is displayed in the grid

Expected behavior

The first visible column is still displayed

Versions

Clarity version:

  • v13.x
  • v15.x (15.14.6)
  • Other:

Framework version:
16.2.5

Device:

  • Type: Lenovo ThinkPad P53
  • OS: Windows 10
  • Browser: Chrome
  • Version: 122.0.6261.96