Hi,
I have a custom filter on SfGrid, something like:
<FilterTemplate>
<SfTreeView TValue="DateTimeCheckBoxObject" ShowCheckBox="true" AutoCheck="true" LoadOnDemand="false">
<TreeViewEvents TValue="DateTimeCheckBoxObject" NodeChecked="NodeCheckedHandler" DataSourceChanged="DataSourceChangedHandler"></TreeViewEvents>
<TreeViewFieldsSettings TValue="DateTimeCheckBoxObject" Id="Id" DataSource="@TreeData" Text="DisplayString" ParentID="ParentId" HasChildren="HasChild" Expanded="Expanded" IsChecked="IsChecked"></TreeViewFieldsSettings>
</SfTreeView>
</FilterTemplate>
My goal is to only list possible column values in the SfTreeView. For example, if another filter on another column in the grid has removed half of the datasource, i only want to show values in this filter that havent been filtered out by other columns. (The built in Excel filter works this way currently). Importantly i do want to show items that have been filtered by this column (e.g. if i deselect an item in the tree view which hides it from the grid, i still want that item to appear in the custom filter).
Is there a built in method/property that contains what im looking for?
Thanks,
Harry