BCGSoft.Controls.Grid Namespace > GridControl Class : SetFilter Method |
Overload | Description |
---|---|
SetFilter(GridColumn,GridSelectionRange,Boolean) | Applies a filter to a column in the specified range. |
SetFilter(GridColumn,Boolean) | Applies a filter to a column for the whole grid control. |
When you call this method, the Grid control loops over all rows (in the specified range for the first overload) and raises the Filter event for each row.
You can set GridDataRow.Filtered%GridDataItem.Filtered:BCGSoft.Controls.Grid~BCGSoft.Controls.Grid.GridDataItem~Filtered% properties to true in order to filter out the desired rows.
Set GridData.SingleFilterMode to switch between single and multiple filter modes.
Set EnableFilter to true to display Filter Button in column headers.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2