Property |
Type |
Description |
|
$addButtonOptions |
|
the HTML options for the add button |
|
$addButtonPosition |
|
position of add button. |
|
$allowEmptyList |
|
whether to allow the empty list |
|
$attributeOptions |
|
client-side attribute options, e.g. enableAjaxValidation. You may use this property in case when
you use widget without a model, since in this case widget is not able to detect client-side options
automatically. |
|
$columnClass |
|
the name of column class. You can specify your own class to extend base functionality.
Defaults to unclead\multipleinput\MultipleInputColumn |
|
$columns |
|
columns configuration |
|
$data |
|
input data |
|
$enableGuessTitle |
|
whether to guess column title in case if there is no definition of columns |
|
$form |
|
an instance of ActiveForm which you have to pass in case of using client validation |
|
$isEmbedded |
|
whether the widget is embedded or not. |
|
$max |
|
maximum number of rows |
|
$min |
|
minimum number of rows |
|
$removeButtonOptions |
|
the HTML options for the remove button |
|
$rendererClass |
|
the name of renderer class. Defaults to unclead\multipleinput\renderers\TableRenderer. |
|
$rowOptions |
|
the HTML attributes for the table body rows. This can be either an array
specifying the common HTML attributes for all body rows, or an anonymous function that
returns an array of the HTML attributes. It should have the following signature:
php
function ($model, $index, $context)
- $model: the current data model being rendered
- $index: the zero-based index of the data model in the model array
- $context: the MultipleInput widget object |
|