Click or drag to resize
ColumnFilter Class
Column Filter settings.
Inheritance Hierarchy

Namespace: CMS.UIControls.UniGridConfig
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
public class ColumnFilter : Component

The ColumnFilter type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyControlName
Form control name
Public propertyCustomFilterParameters
Custom filter parameters.
Public propertyDefaultValue
Default value of the filter
Public propertyFieldName
Filter field name to be used by the filter form. When not specified, Source property is used as field name.
Public propertyFormat
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}' "
Public propertyPath
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/.
Public propertySize
Determines the maximum amount of characters that can be entered into the textbox of the default filter. Available for Text, Integer and Double filter types. The default value is 1000.
Public propertySource
Name of the column used in the WHERE clause generated by the filter.
Public propertyType
The filter type that should be created for the given column. Available values: "Text", "Bool", "Integer", "Double".
Public propertyWidth
Determines the width of the control to customize the default width. (for default filters)
Top
See Also