FileManagerViewsGridSettingsColumnTagHelper
Example
Razor
<column>
<header-template></header-template>
<item-template></item-template>
</column>
ChildTags
Tag Name | Details |
---|---|
header-template | TemplateTagHelper |
item-template | TemplateTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
encoded | Boolean | If set to true the column value will be HTML-encoded before it is displayed. If set to false the column value will be displayed as is. By default the column value is HTML-encoded. |
field | String | Specifies the field of the column. |
header-template | String | The template which renders the column header content. By default the value of the title column option is displayed in the column header cell. |
header-template-handler | String | The template which renders the column header content. By default the value of the title column option is displayed in the column header cell. This option expects the name of a JavaScript function that will be called to return the template. |
header-template-id | String | The template which renders the column header content. By default the value of the title column option is displayed in the column header cell. This option expects the ID of the script element that contains the template. |
header-template-view | IHtmlContent | The template which renders the column header content. By default the value of the title column option is displayed in the column header cell. This option expects the instance containing the created HTML. |
sortable | Boolean | If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column. |
template | String | Configures the templates for the component. |
template-handler | String | If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column. This option expects the name of a JavaScript function that will be called to return the template. |
template-id | String | If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column. This option expects the ID of the script element that contains the template. |
template-view | IHtmlContent | If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column. This option expects the instance containing the created HTML. |
title | String | The text that is displayed in the column header cell. If not set the field is used. |
width | Double | The text that is displayed in the column header cell. If not set the field is used. |