Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi,

We are experiencing an issue with the filter summary shown in the UI not updating the first time after bringing the field list back up. I was able to find an extremely hacky workaround for it, but consider this a bug. I have prepared a StackBlitz that demonstrates the issue, both with and without the workaround.

https://stackblitz.com/edit/angular-fieldlist-filters?file=my-pivot-grid.component.ts

To reproduce:

  1. Click on the "Show Field List" button or the icon button to open the field list.
  2. Place fields on the axes, including the Filters axis (Country is a good example and I will use that)
  3. Click the Filter icon and select a subset of the available choices. To best demonstrate, pick a single item i.e. Country: France.
  4. Note filter label still states County(All). This is OK because the Defer Layout Update setting is checked and the filter is not yet applied.
  5. Click Apply.
  6. Pivot grid updates correctly using the filter.
  7. Click the icon button to open the field list.
  8. Note the filter label still states Country (All). This is incorrect because the filter is for a single country. Clicking the filter icon does correctly show the filter for the single country.
  9. At this point, the label in the UI will update if you uncheck Defer Layout Update or if you click Apply or Cancel and then bring the dialog back up.
  10. If you were to change the filter to a different country, then click Apply and bring the dialog back up, the UI label would still shows the first filter, not the applied second filter.
The workaround that I was able to use involves calling the click() method of the deferUpdateCheckBox programmatically, twice. (It is called twice to preserve the user's current preference for that checkbox) In step 7, if you click the "Show Field List" button, it applies my workaround and you can see that the UI label for the filter updates correctly.

Since we hide the built-in field list icon button we are able to use the workaround. However I consider this to be a bug in the field list control and wanted to make you aware of it. Please let me know if you have any questions.