Skip to content

Commit a22af30

Browse files
committed
Update docs and README.
1 parent 5b90939 commit a22af30

File tree

7 files changed

+104
-3
lines changed

7 files changed

+104
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Bootstrap table displays data in a tabular format and offers rich support to rad
2727
- [ ] Fix #144: `onCheck` and `onUncheck` method are reversed when using `clickToSelect` option. (jQuery 1.7.2 bug).
2828
- [x] Apply `width` column option to row style.
2929
- [x] Add bootstrap-table-filter extension.
30-
- [x] Add cs-CZ, es-CR, es-NI, pl-PL, ur-PK and ko-KR locales.
30+
- [x] Add cs-CZ, es-CR, es-NI, pl-PL, ur-PK, ko-KR, th-TH locales.
3131
- [x] Fix `minimumCountColumns` option init error.
3232
- [x] Fix #161: `undefined` or `null` string sort bug.
3333
- [x] Fix #171: IE disabled button can be clicked bug.
@@ -37,7 +37,8 @@ Bootstrap table displays data in a tabular format and offers rich support to rad
3737
- [x] Add `searchAlign` and `toolbarAlign` options.
3838
- [x] Fix #193: Add `dataType` option.
3939
- [x] Add flatJSON and editable extensions.
40-
- [ ] Update documentation.
40+
- [x] Add `rowAttributes` option.
41+
- [x] Update documentation.
4142

4243
## Features
4344

docs/_includes/examples/events.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Events []({{ site.repo }}/blob/master/docs/_includes/examples/events.md)
2+
3+
---
4+
5+
## Basic Events
6+
7+
Table events. _by [@wenzhixin](https://github.com/wenzhixin)_
8+
9+
<iframe width="100%" height="500" src="http://jsfiddle.net/wenyi/e3nk137y/36/embedded/html,js,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
10+
11+
## Column Events
12+
13+
Use `formatter`, `events` column option to define the custom events. _by [@wenzhixin](https://github.com/wenzhixin)_
14+
15+
<iframe width="100%" height="500" src="http://jsfiddle.net/wenyi/e3nk137y/39/embedded/html,js,css,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
16+

docs/_includes/examples/methods.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Methods []({{ site.repo }}/blob/master/docs/_includes/examples/methods.md)
2+
3+
---
4+
5+
## Reset View
6+
7+
The table header does not adjust automatically, We need to call `resetView` method. _by [@wenzhixin](https://github.com/wenzhixin)_
8+
9+
<iframe width="100%" height="300" src="http://jsfiddle.net/wenyi/e3nk137y/40/embedded/html,js,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
10+
11+
12+
<!--
13+
## Data Methods
14+
15+
16+
## Merge Cells
17+
18+
19+
## Check Methods
20+
21+
22+
## Column Methods
23+
-->
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Pagination []({{ site.repo }}/blob/master/docs/_includes/examples/pagination.md)
2+
3+
---
4+
5+
## Client Side
6+
7+
The default side pagination of table is `client`. _by [@wenzhixin](https://github.com/wenzhixin)_
8+
9+
<iframe width="100%" height="400" src="http://jsfiddle.net/wenyi/e3nk137y/42/embedded/html,js,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

docs/_includes/examples/select.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Select []({{ site.repo }}/blob/master/docs/_includes/examples/select.md)
2+
3+
---
4+
5+
## Radio Select
6+
7+
Use `clickToSelect`, `selectItemName` options and `radio` column option to show a radio select table. _by [@wenzhixin](https://github.com/wenzhixin)_
8+
9+
<iframe width="100%" height="300" src="http://jsfiddle.net/wenyi/e3nk137y/29/embedded/html,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
10+
11+
## Checkbox Select
12+
13+
Use `clickToSelect` option and `checkbox` column option to show a checkbox select table. _by [@wenzhixin](https://github.com/wenzhixin)_
14+
15+
<iframe width="100%" height="300" src="http://jsfiddle.net/wenyi/e3nk137y/30/embedded/html,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
16+
17+
## Disabled Checkbox
18+
19+
Use `checkboxHeader`, `checkboxEnable` options and `formatter` column option to disabled select input. _by [@wenzhixin](https://github.com/wenzhixin)_
20+
21+
<iframe width="100%" height="300" src="http://jsfiddle.net/wenyi/e3nk137y/31/embedded/html,js,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
22+
23+
## Single Checkbox
24+
25+
Use `singleSelect` option to allow checkbox selecting only one row. _by [@wenzhixin](https://github.com/wenzhixin)_
26+
27+
<iframe width="100%" height="300" src="http://jsfiddle.net/wenyi/e3nk137y/32/embedded/html,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

docs/_includes/examples/toolbar.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Toolbar []({{ site.repo }}/blob/master/docs/_includes/examples/toolbar.md)
2+
3+
---
4+
5+
## Basic Toolbar
6+
7+
Use `search`, `showColumns`, `showRefresh`, `showToggle` options to show the basic toolbars. _by [@wenzhixin](https://github.com/wenzhixin)_
8+
9+
<iframe width="100%" height="300" src="http://jsfiddle.net/wenyi/e3nk137y/33/embedded/html,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
10+
11+
## Custom Toolbar
12+
13+
Use `toolbar` option to define the custom toolbars. _by [@wenzhixin](https://github.com/wenzhixin)_
14+
15+
<iframe width="100%" height="300" src="http://jsfiddle.net/wenyi/e3nk137y/34/embedded/html,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

docs/examples.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,14 @@ lead: "The examples of bootstrap table."
2121

2222
{% markdown examples/columns.md %}
2323

24-
{% markdown examples/card-view.md %}
24+
{% markdown examples/card-view.md %}
25+
26+
{% markdown examples/select.md %}
27+
28+
{% markdown examples/toolbar.md %}
29+
30+
{% markdown examples/pagination.md %}
31+
32+
{% markdown examples/events.md %}
33+
34+
{% markdown examples/methods.md %}

0 commit comments

Comments
 (0)