The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I would like to apply a filter to a gridhierdatabound grid and all of its child grids based on a menu selection. Is there any example somewhere on how to do this? I don''t want to lose any of the changes the user may have made to the grid before applying the filter
Thanks again!
ADAdministrator Syncfusion Team February 5, 2004 05:56 PM UTC
You set the parentDataTable.DefaultView.RowFilter property to the row filter you want to apply..
ADAdministrator Syncfusion Team February 5, 2004 07:53 PM UTC
THanks, that worked great. I noticed that when I try to apply the filter when I am still on a record that was just edited, I sometimes get an error '' no row at position one''. Is there some way to commit changes to all records before applying the filter?
>You set the parentDataTable.DefaultView.RowFilter property to the row filter you want to apply..
ADAdministrator Syncfusion Team February 5, 2004 09:05 PM UTC
Try calling grid.CurrentCell.EndEdit() and grid.Binder.EndEdit() before setting the filter.
ADAdministrator Syncfusion Team February 5, 2004 09:42 PM UTC
THanks
>Try calling grid.CurrentCell.EndEdit() and grid.Binder.EndEdit() before setting the filter.