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.
Is it possible to bind a Filtered ListCollectionView into the GridDataControl ItemsSource? If i bind this collection, only the unfiltered collection shows up on the grid even though the Grid's DataContext says that ItemsLcv has the correct filtered count.
It's as if the GridDataControl is binding to ListCollectionView.SourceCollection rather than the ListCollectionView with the filter.
I don't know what i'm doing wrong so please help.
I bind it like so..
grid.SetBinding(GridDataControl.ItemsSourceProperty, new Binding("ItemsLcv"));
And my ListCollectionView is created like..
public ListCollectionView ItemsLcv { get { return _itemsLcv; } set { _itemsLcv = value; BuildItemView(); } }
SelectionExpanderDefinition(ObservableCollection dataItems, List filters ){ _selectionFilters = filters; _itemsLcv = new ListCollectionView(new List(dataItems)); BuildItemView(); }
public void BuildItemView() { // set up LCV System.Predicate<object> expanderContentFilter = blah blah filter method