ColumnFilter

Wisej.Web.Ext.ColumnFilter.ColumnFilter

Namespace: Wisej.Web.Ext.ColumnFilter

Assembly: Wisej.Web.Ext.ColumnFilter (3.2.0.0)

Adds a custom filter button to DataGridViewColumn to display a custom filter panel.

public class ColumnFilter : Component, IWisejExtenderProvider, IExtenderProvider, ISupportInitialize

Constructors

ColumnFilter()

Initializes a new instance of ColumnFilter

ColumnFilter(container)

Initializes a new instance of the ColumnFilter class with a specified container.

Name
Type
Description

container

An IContainercontainer.

Properties

FilteredImage

Image: Returns or sets the image that is displayed in the filter button when there is an active filter. Can be null.

FilteredImageSource

String: Returns or sets the theme name or URL for the image to display in the filter button when there is an active filter. Can be null.

FilterPanelType

Type: Returns or sets the ColumnFilterPanel to associate with this ColumnFilter extender. (Default: null)

Image

Image: Returns or sets the image that is displayed in the filter button.

ImageSource

String: Returns or sets the theme name or URL for the image to display in the filter button.

Methods

GetShowFilter(column)

Returns whether the specified DataGridViewColumn shows the filter button in its header.

Parameter
Type
Description

Returns: Boolean. True if the DataGridViewColumn shows the filter button.

OnRowsFiltered(filteredRowCount)

Fires the RowsFiltered event.

Parameter
Type
Description

filteredRowCount

SetShowFilter(column, show)

Shows or hides the filter button on a DataGridViewColumn header panel.

Parameter
Type
Description

column

The DataGridViewColumn for which to show or hide the filter button.

show

True to show the filter button or false to remove it.

Events

RowsFiltered

EventHandler<RowsFilteredEventArg> Event is fired when all filters are applied.

Last updated

Was this helpful?