igniteui-webcomponents icon indicating copy to clipboard operation
igniteui-webcomponents copied to clipboard

IgcPivotDataSelector - Cannot re-select data after all rows, columns and values are deselected.

Open norikois opened this issue 1 year ago • 1 comments

Description

IgcPivotDataSelector - Cannot re-select data after all rows, columns and values are deselected.

Steps to reproduce

  1. Start the attached reproducible sample.
  2. In the pivot data selector, deselect "column1".
  3. Deselect "Sum".
  4. Select "column5".

Result

Type errors occurs. Users can never select rows, columns or values.

ERROR TypeError: Cannot read properties of undefined (reading 'dimensionValues') at t2.extractFromDimension (combined.js:46164:39) x twice

ERROR TypeError: Cannot read properties of undefined (reading 'headerGroupClasses') at template (combined.js:46183:693) x twice

Expected result

No type error occurs. Users can select rows, columns and values again.

Attachments

c-00234067-igc-pivot-grid.zip

norikois avatar Dec 19 '23 05:12 norikois

This might be duplicated with https://github.com/IgniteUI/igniteui-webcomponents/issues/953, but the steps to reproduce are different and another type error about headerGroupClasses occurs in this case, so I submitted this issue separately.

norikois avatar Dec 19 '23 05:12 norikois