RadGridView filtering by image column

1 Answer 107 Views
GridView
Zygmunt
Top achievements
Rank 1
Iron
Iron
Iron
Zygmunt asked on 27 Mar 2023, 09:47 AM

Hi,

I have RadGridView with image column? It is possible to filter rows by image?

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Mar 2023, 11:37 AM

Hello, Zygmunt,

The GridViewImageColumn is not supposed to provide filtering functionality out of the box. However, the following KB article demonstrates a sample approach how you can implement your own filtering functionality for a column type that does not support filtering. A similar solution may be adopted for the image column as well:

https://docs.telerik.com/devtools/winforms/knowledge-base/filter-commandcolumn-in-gridview 

An alternative solution is to use the simple text column, hide the text and show an image by using the CellFormatting event. Thus, the filtering will work of of the box considering the cell's text even though it is not visible.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Zygmunt
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or