Excel-Like filtering how to uncheck checkbox values while opening the popup

1 Answer 83 Views
GridView
Renuka
Top achievements
Rank 1
Renuka asked on 27 Jan 2023, 07:09 PM | edited on 27 Jan 2023, 07:10 PM
excel-like-filtering how to uncheck checkbox values while opening the popup

1 Answer, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 30 Jan 2023, 11:58 AM

Hello Renuka,

If you want to reset the setting the filter popup. You can remove the filter descriptor of the column and assign a new RadListFilterPopup by subscribing to the FilterPopupRequited event. 

private void RadGridView1_FilterPopupRequired(object sender, Telerik.WinControls.UI.FilterPopupRequiredEventArgs e)
{
// string column
    if (e.Column.Name == "Name")
    {
        this.radGridView1.Columns["Name"].FilterDescriptor = null;
        e.FilterPopup = new RadListFilterPopup(e.Column);
    }
}

Give this approach a try and let me know how it goes.

Regards,
Dinko | Tech Support Engineer
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/.

Renuka
Top achievements
Rank 1
commented on 08 Feb 2023, 05:41 AM

it's working fine. their is a another method as well.
Tags
GridView
Asked by
Renuka
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or