Skip to content

Commit edeee9a

Browse files
committed
#94 update docs
1 parent e0720a1 commit edeee9a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

docs/configuration.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ This can be `MultipleInput::POS_HEADER`, `MultipleInput::POS_ROW` or `MultipleIn
2727
**columnClass** *string*: the name of column class. You can specify your own class to extend base functionality.
2828
Defaults to `unclead\widgets\MultipleInputColumn` for `MultipleInput` and `unclead\widgets\TabularColumn` for `TabularInput`.
2929

30+
**rendererClass** *string*: the name of renderer class. You can specify your own class to extend base functionality.
31+
Defaults to `unclead\widgets\renderers\TableRenderer`.
32+
3033
**columns** *array*: the row columns configuration where you can set the properties which is described below
3134

3235
**rowOptions** *array|\Closure*: the HTML attributes for the table body rows. This can be either an array

docs/usage.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
> You can find source code of examples [here](./examples/)
44
5-
- [Input with one column](#one-column)
6-
- [Input with multiple column in each row](#multiple-columns)
7-
- [Tabular input](#tabular)
5+
- [One column](#one-column)
6+
- [Multiple columns](#multiple-columns-example)
7+
- [Tabular input](#tabular-input)
88

9-
##Input with one column <a href="one-column"></a>
9+
##One column
1010

1111
![Single column example](./images/single-column.gif?raw=true)
1212

@@ -32,7 +32,7 @@ use unclead\widgets\MultipleInput;
3232

3333
You can find more detail about this use case [here](multiple_input_single.md)
3434

35-
##Input with multiple column in each row <a href="multiple-columns"></a>
35+
##Multiple columns
3636

3737
![Multiple columns example](./images/multiple-column.gif?raw=true)
3838

@@ -105,7 +105,7 @@ use unclead\widgets\MultipleInput;
105105

106106
You can find more detail about this use case [here](multiple_input_multiple.md)
107107

108-
##Tabular input <a href="tabular"></a>
108+
##Tabular input
109109

110110
For example you want to manage some models via tabular input. In this case you can use `TabularInput` widget which is based on `MultipleInput` widget.
111111
Use the following code for this purpose:

0 commit comments

Comments
 (0)