Dynamic filter in clarity design

Aravindrajan Sampathkumar picture Aravindrajan Sampathkumar · Jun 16, 2020 · Viewed 13.8k times · Source

enter image description hereI am new to clarity design framework. I have created the customized grid with dynamic column and dynamic row in Clarity design. I am trying to filter as based on the dynamic column but I am not able to get the column name in the default filter provided by Clarity instead it is getting the response data

Answer

Malte Jacobson picture Malte Jacobson · Aug 12, 2020

as @hippeelee said, it is easier with a stackblitz. But, as far as I understood, you want to use the datagrids column filtering. For the column based filtering you need to use the Smart Iterator. I am not quite sure, but it seems that you use ngFor instead of clrDgItems for the row loop.