\Kendo\UI\PropertyGridColumns
A PHP class representing the columns setting of PropertyGrid.
Methods
fieldColumn
The configuration of the field column.
Returns
\Kendo\UI\PropertyGridColumns
Parameters
$value \Kendo\UI\PropertyGridColumnsFieldColumn|array
Example - using \Kendo\UI\PropertyGridColumnsFieldColumn
<?php
$columns = new \Kendo\UI\PropertyGridColumns();
$fieldColumn = new \Kendo\UI\PropertyGridColumnsFieldColumn();
$width = 1;
$fieldColumn->width($width);
$columns->fieldColumn($fieldColumn);
?>
Example - using array
<?php
$columns = new \Kendo\UI\PropertyGridColumns();
$width = 1;
$columns->fieldColumn(array('width' => $width));
?>
valueColumn
The configuration of the value column.
Returns
\Kendo\UI\PropertyGridColumns
Parameters
$value \Kendo\UI\PropertyGridColumnsValueColumn|array
Example - using \Kendo\UI\PropertyGridColumnsValueColumn
<?php
$columns = new \Kendo\UI\PropertyGridColumns();
$valueColumn = new \Kendo\UI\PropertyGridColumnsValueColumn();
$width = 1;
$valueColumn->width($width);
$columns->valueColumn($valueColumn);
?>
Example - using array
<?php
$columns = new \Kendo\UI\PropertyGridColumns();
$width = 1;
$columns->valueColumn(array('width' => $width));
?>