Class ColumnConfiguration
Represents a table column configuration.
public class ColumnConfiguration
- Inheritance
-
objectColumnConfiguration
- Extension Methods
Constructors
ColumnConfiguration()
Initializes a new instance of ColumnConfiguration.
public ColumnConfiguration()
Properties
Caption
Gets or sets the column header text.
public string Caption { get; set; }
Property Value
- string
Component
Gets or sets client component configuration.
public ComponentColumnConfiguration Component { get; set; }
Property Value
Formatter
Gets or sets custom value formatter.
public Func<object, IDataContainer, string> Formatter { get; set; }
Property Value
- Func<object, IDataContainer, string>
LoadedExternally
Indicates whether column is loaded by custom logic instead of standard load process.
public bool LoadedExternally { get; set; }
Property Value
- bool
Localizable
Indicates whether column value should be localized.
public bool Localizable { get; set; }
Property Value
- bool
MaxWidth
Maximal width of the column in grid units.
public int MaxWidth { get; set; }
Property Value
- int
MinWidth
Minimal width of the column in grid units.
public int MinWidth { get; set; }
Property Value
- int
Name
Gets or sets the column name. Value is used when generating database query.
public string Name { get; set; }
Property Value
- string
Searchable
Gets or sets whether the column values are able to be searched.
public bool Searchable { get; set; }
Property Value
- bool
Sorting
Gets or sets sorting configuration.
public SortingConfiguration Sorting { get; set; }
Property Value
Visible
Gets or sets the column visibility.
public bool Visible { get; set; }
Property Value
- bool
Remarks
Default value is true