Class FileManagerColumn
Inherited Members
Namespace: Syncfusion.EJ2.FileManager
Assembly: Syncfusion.EJ2.dll
Syntax
public class FileManagerColumn : EJTagHelper
Constructors
FileManagerColumn()
Declaration
public FileManagerColumn()
Properties
AllowResizing
If allowResizing
set to false, it disables resize option of a particular column.
Declaration
[HtmlAttributeName("allowResizing")]
public bool AllowResizing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
AllowSorting
If allowSorting
set to false, then it disables sorting option of a particular column.
By default all columns are sortable.
Declaration
[HtmlAttributeName("allowSorting")]
public bool AllowSorting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
CustomAttributes
The CSS styles and attributes of the content cells of a particular column can be customized.
Declaration
[HtmlAttributeName("customAttributes")]
public object CustomAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
CustomFormat
Declaration
[HtmlAttributeName("customFormat")]
public object CustomFormat { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Field
Defines the field name of column which is mapped with mapping name of DataSource.
The bounded columns can be sort, filter and group etc.,
The field
name must be a valid JavaScript identifier,
the first character must be an alphabet and should not contain spaces and special characters.
Declaration
[HtmlAttributeName("field")]
public string Field { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Format
Declaration
[HtmlAttributeName("format")]
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
HeaderTemplate
Defines the column template as string or HTML element ID which is used to add customized element in the column header.
Declaration
[HtmlAttributeName("headerTemplate")]
public string HeaderTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
HeaderText
Defines the header text of column which is used to display in column header.
If headerText
is not defined, then field name value will be assigned to header text.
Declaration
[HtmlAttributeName("headerText")]
public string HeaderText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
HeaderTextAlign
Define the alignment of column header which is used to align the text of column header.
Declaration
[HtmlAttributeName("headerTextAlign")]
public TextAlign HeaderTextAlign { get; set; }
Property Value
Type | Description |
---|---|
TextAlign | The default value is null |
HideAtMedia
Column visibility can change based on Media Queries
.
hideAtMedia
accepts only valid Media Queries.
Declaration
[HtmlAttributeName("hideAtMedia")]
public string HideAtMedia { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
IsPrimaryKey
If isPrimaryKey
is set to true, considers this column as the primary key constraint.
Declaration
[HtmlAttributeName("isPrimaryKey")]
public bool IsPrimaryKey { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
MaxWidth
Defines the maximum width of the column in pixel or percentage, which will restrict resizing beyond this pixel or percentage.
Declaration
[HtmlAttributeName("maxWidth")]
public string MaxWidth { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
MinWidth
Defines the minimum width of the column in pixels or percentage.
Declaration
[HtmlAttributeName("minWidth")]
public string MinWidth { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Template
Defines the column template that renders customized element in each cell of the column. It accepts either template string or HTML element ID.
Declaration
[HtmlAttributeName("template")]
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
TextAlign
Defines the alignment of the column in both header and content cells.
Declaration
[HtmlAttributeName("textAlign")]
public TextAlign TextAlign { get; set; }
Property Value
Type | Description |
---|---|
TextAlign | The default value is TextAlign.Left |
Type
Defines the data type of the column.
Declaration
[HtmlAttributeName("type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Width
Defines the width of the column in pixels or percentage.
Declaration
[HtmlAttributeName("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |