DataGrid Filtering?

1 Answer 42 Views
DataGrid
Bradley
Top achievements
Rank 2
Iron
Iron
Iron
Bradley asked on 19 Aug 2024, 04:56 PM

I'm evaluating Telerik's UI for WinUI and simply don't have the knowledge nor the time to learn the DataGrid thoroughly.  I have to make a decision between Telerik and a competitor very soon.

The question is about filtering.  I like the filtering in the Telerik grid, with the funnel icon.  However, my client is familiar with a different experience, and prefers it.  Specifically, the client would like a line either between the column headers and the data where the user could simply type and the grid would automatically filter using a "contains" (simple concept, but not so easy for me to describe).  Is that something that could be done with Telerik's grid?  Can it be done with configuration, or would it require custom coding?  Ideally I'd love to see an example (GitHub)?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 20 Aug 2024, 01:48 PM

Hello Bradley,

The RadDataGrid for WinUI doesn't have such filtering behavior. You can only change between the funnel icon and the flyout data operations toolbar described here (displayed on header click).

I have logged a new feature request to add a FilterRow mode, like the "FilterRow" FilteringMode in RadGridView for WPF. In this regard, I also updated your Telerik points.

There is no straightforward approach to get the desired behavior. Basically, you will need to re-template the header row visuals (DataGridColumnHeader) in order add custom visual element, and then implement custom filtering using the RadDataGrid API.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Bradley
Top achievements
Rank 2
Iron
Iron
Iron
commented on 20 Aug 2024, 07:55 PM

Thanks a lot for your response.  At this point we're starting to lean away from WinUI (i.e. back to WPF), but thanks anyway.
Tags
DataGrid
Asked by
Bradley
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Martin Ivanov
Telerik team
Share this question
or