\Kendo\UI\FileManagerViewsGrid

A PHP class representing the grid setting of FileManagerViews.

Methods

addColumn

Adds one or more FileManagerViewsGridColumn to the FileManagerViewsGrid.

Returns

\Kendo\UI\FileManagerViewsGrid

Parameters

$value[, $value2, ...] \Kendo\UI\FileManagerViewsGridColumn|array

Example - using \Kendo\UI\FileManagerViewsGridColumn

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

Example - using array

<?php
$grid = new \Kendo\UI\FileManagerViewsGrid();
$encoded = true;
$grid->addColumn(array('encoded' => $encoded));
?>

Example - adding more than one FileManagerViewsGridColumn

<?php
$grid = new \Kendo\UI\FileManagerViewsGrid();
$first  = new \Kendo\UI\FileManagerViewsGridColumn();
$second = new \Kendo\UI\FileManagerViewsGridColumn();
$grid->addColumn($first, $second);
?>
In this article
Not finding the help you need?