Skip to content

Commit 1ba3607

Browse files
author
Eugene Tupikov
committed
update docs
1 parent 6c6d00e commit 1ba3607

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/configuration.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,24 @@ function($data) {}
110110

111111
**tabindex** _integer_: use it to customize a form element `tabindex`
112112

113+
**columnOptions** _array|\Closure_ the HTML attributes for the indivdual table body column. This can be either an array specifying the common HTML attributes for indivdual body column, or an anonymous function that returns an array of the HTML attributes.
114+
115+
It should have the following signature:
116+
```php
117+
function ($model, $index, $context)
118+
```
119+
* `$model`: the current data model being rendered
120+
* `$index`: the zero-based index of the data model in the model array
121+
* `$context`: the widget object
122+
123+
_Supported versions >= 2.18.0_
124+
125+
**inputTemplate** _string_ the template of input for customize view. Defailt is `{input}`.
126+
127+
**Example**
128+
129+
`<div class="input-group"><span class="input-group-addon"><i class="fas fa-mobile-alt"></i></span>{input}</div>`
130+
113131
## Input types
114132

115133
Each column in a row can has their own type. Widget supports:

0 commit comments

Comments
 (0)