ShowFilterIcon is not honored

1 Answer 10 Views
Filter Grid
Ethan
Top achievements
Rank 1
Ethan asked on 18 Apr 2025, 05:35 PM | edited on 18 Apr 2025, 05:36 PM

I've set

<telerik:GridTemplateColumn ... ShowFilterIcon="True">

but no icon appears when I apply a filter. Conversely, a sort icon does appear when I apply a sort.

Sorting is achieved by clicking on the column header, but for filtering, I am using a header context menu. Is that the source of the problem?

  • If so, how can I have the filter icon show in the column header when filtering is applied via a header context menu?
  • If not, why else might the filter icon now display when filtering is applied?

1 Answer, 1 is accepted

Sort by
0
Vasko
Telerik team
answered on 23 Apr 2025, 12:49 PM

Hi Ethan,

The issue you're experiencing is likely related to the use of the header context menu for filtering, which can affect the display of the filter icon. Here are some steps to address your concern:

  • Header Context Menu Influence: The use of the HeaderContextMenu for filtering can indeed impact the visibility of the filter icon in the column header. When using the context menu, the filter icon is not automatically displayed as it would be with classic filtering.

  • Display Filter Icon with Header Context Menu: Unfortunately, the current design does not support displaying the filter icon in the column header when using the header context menu. This is because the filtering is managed through the context menu rather than directly on the column header.

  • Alternative Approach: If displaying the filter icon is crucial, consider using classic filtering instead of the header context menu. This will ensure that the filter icon appears when a filter is applied.

If these suggestions do not resolve the issue or if you have specific requirements, please share more details about your grid configuration and any custom styles or scripts in use. This will help in providing a more tailored solution.

    Regards,
    Vasko
    Progress Telerik

    Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
    Tags
    Filter Grid
    Asked by
    Ethan
    Top achievements
    Rank 1
    Answers by
    Vasko
    Telerik team
    Share this question
    or