Unplanned
Last Updated: 26 May 2025 07:44 by ADMIN
Mark
Created on: 26 May 2025 07:36
Category: GridView
Type: Bug Report
0
RadGridView: Filtered values are not checked in tree in the Excel like filter popup
 After apply some filters, the treeview will not update automatically to tick or untick values that were included/excluded by the filter.
1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 26 May 2025 07:44

Hello, Mark,

Thank you for reporting this.

Workaround: check the nodes programmatically when the popup is shown:

 private void RadGridView1_FilterPopupInitialized(object sender, FilterPopupInitializedEventArgs e)
 {
     RadListFilterPopup popup = e.FilterPopup as RadListFilterPopup;
     if (popup != null)
     {
         popup.Tag = e.Column.Name;
         popup.PopupOpened -= popup_PopupOpened;
         popup.PopupOpened += popup_PopupOpened;
     }
 }
 private void popup_PopupOpened(object sender, EventArgs args)
 {
     RadListFilterPopup popup = sender as RadListFilterPopup;

     foreach (GridViewRowInfo row in this.radGridView1.ChildRows)
     {
         RadTreeNode node = popup.MenuTreeElement.TreeView.FindNodes(row.Cells[popup.Tag + ""].Value.ToString()).FirstOrDefault();
         if (node != null)
         {
             node.Checked = true;
         }
     }
 }

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