\Kendo\UI\FileManagerViewsGridColumn

A PHP class representing the column setting of FileManagerViewsGridColumns.

Methods

encoded

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.

Returns

\Kendo\UI\FileManagerViewsGridColumn

Parameters

$value boolean

Example

<?php
$column = new \Kendo\UI\FileManagerViewsGridColumn();
$column->encoded(true);
?>

field

The field to which the column is bound. The value of this field is displayed in the column's cells during data binding. Only columns that are bound to a field can be sortable or filterable. The field name should be a valid Javascript identifier and should contain only alphanumeric characters (or "$" or "_"), and may not start with a digit.

Returns

\Kendo\UI\FileManagerViewsGridColumn

Parameters

$value string

Example

<?php
$column = new \Kendo\UI\FileManagerViewsGridColumn();
$column->field('value');
?>

headerTemplate

The template which renders the column header content. By default the value of the title column option is displayed in the column header cell.

Returns

\Kendo\UI\FileManagerViewsGridColumn

Parameters

$value string

Example

<?php
$column = new \Kendo\UI\FileManagerViewsGridColumn();
$column->headerTemplate('value');
?>

sortable

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.

Returns

\Kendo\UI\FileManagerViewsGridColumn

Parameters

$value boolean

Example

<?php
$column = new \Kendo\UI\FileManagerViewsGridColumn();
$column->sortable(true);
?>

template

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.

Returns

\Kendo\UI\FileManagerViewsGridColumn

Parameters

$value string

Example

<?php
$column = new \Kendo\UI\FileManagerViewsGridColumn();
$column->template('value');
?>

title

The text that is displayed in the column header cell. If not set the field is used.

Returns

\Kendo\UI\FileManagerViewsGridColumn

Parameters

$value string

Example

<?php
$column = new \Kendo\UI\FileManagerViewsGridColumn();
$column->title('value');
?>

width

The text that is displayed in the column header cell. If not set the field is used.

Returns

\Kendo\UI\FileManagerViewsGridColumn

Parameters

$value float

Example

<?php
$column = new \Kendo\UI\FileManagerViewsGridColumn();
$column->width(1);
?>
In this article
Not finding the help you need?