PivotGrid Group Filtering in C#.NET
KetticPivotGrid control provides the group filtering mechanism for the users to add filter conditions to the group descriptions in C# Windows Forms applications. By using this sorting feature, the users are able to specify the groups generated that will be shown in PivotGrid. KetticPivotGrid control contains two types of group filters available to the users. One is the Label filters that are capable of adding a specified filter function to the name of the generated groups. The other one is the Value filters that are capable of adding a filter function to the GrandTotal value of a specified aggregate field of a group.
Enable Group Filtering to KetticPivotGrid Control
To enable or disable group filtering functionality, we need to use the EnableGroupFiltering property. The default setting enables the group filtering as the C# code below.
If enabling the group filtering to your application, the users of your application are able to add group filters through the filter button in the group descriptor elements or the drop down menus of the group fields in KetticPivotFieldList. The options of group filtering resembles those of the Report Filters, however, the group filtering contains the Top20 value filters, which allows the users to choose the top or bottom groups from the order sorted by a given value in the group of KetticPivotGrid. C# Add Filtering to a Group Description
KetticPivotGrid control contains the GropuFilter property for the developers to add filtering functionality to group descriptions. The following are the C# code that shows the process to applying the group filters.
| ![]() UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlPivotGrid - StructurePivotGrid - Property BuilderPivotGrid - Populating with DataDesign Time Data BindingUse DataSource PropertyLocal Source DataUse the AdoMDDataProviderUse XMLA Data ProviderPivotGrid - Layout SettingsPivotGrid - Format AppearancePivotGrid - Binding with ChartPivotGrid - FilteringReport FilterGroup FilterPivotGrid - SortingPivotGrid - Printing SupportPrinting styleCustomizationPivotGrid - DialogsCustomizationWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |