\Kendo\UI\FormGrid

A PHP class representing the grid setting of Form.

Methods

cols

Defines the columns of the grid.

Returns

\Kendo\UI\FormGrid

Parameters

$value float|string

Example - using float

<?php
$grid = new \Kendo\UI\FormGrid();
$grid->cols(1);
?>

Example - using string

<?php
$grid = new \Kendo\UI\FormGrid();
$grid->cols('value');
?>

gutter

Defines the width of the gutters between the columns / rows.

Returns

\Kendo\UI\FormGrid

Parameters

$value float|string|\Kendo\UI\FormGridGutter|array

Example - using float

<?php
$grid = new \Kendo\UI\FormGrid();
$grid->gutter(1);
?>

Example - using string

<?php
$grid = new \Kendo\UI\FormGrid();
$grid->gutter('value');
?>

Example - using \Kendo\UI\FormGridGutter

<?php
$grid = new \Kendo\UI\FormGrid();
$gutter = new \Kendo\UI\FormGridGutter();
$cols = 1;
$gutter->cols($cols);
$grid->gutter($gutter);
?>

Example - using array

<?php
$grid = new \Kendo\UI\FormGrid();
$cols = 1;
$grid->gutter(array('cols' => $cols));
?>
In this article
Not finding the help you need?