ColumnFilter Class |
Namespace: CMS.UIControls.UniGridConfig
public class ColumnFilter : Component
The ColumnFilter type exposes the following members.
Name | Description | |
---|---|---|
ColumnFilter |
Empty constructor.
| |
ColumnFilter(XElement) |
Constructor.
|
Name | Description | |
---|---|---|
ControlName |
Form control name
| |
CustomFilterParameters |
Custom filter parameters.
| |
DefaultValue |
Default value of the filter
| |
FieldName |
Filter field name to be used by the filter form. When not specified, Source property is used as field name.
| |
Format |
Can be used to define a custom WHERE clause format to be generated by the default filter. The following expressions can be used:
{0} - is resolved into the column name
{1} - is resolved into the operator selected in the drop-down list of the default filter
{2} - is resolved into the value entered into the textbox of the default filter
" [{0}] {1} '{2}' "
| |
Path |
Path to the control (.ascx file) that should be used instead of the default filter for the column. If filled, the type attribute is ignored. The default relative path is ~/CMSAdminControls/UI/UniGrid/Filters/.
| |
Size |
Determines the maximum amount of characters that can be entered into the textbox of the default filter. Available for Text, Integer, Double and Decimal filter types. The default value is 1000.
| |
Source |
Name of the column used in the WHERE clause generated by the filter.
| |
Type |
The filter type that should be created for the given column. Available values: "Text", "Bool", "Integer", "Double", "Decimal".
| |
Width |
Determines the width of the control to customize the default width. (for default filters)
|