Skip to content

Commit

Permalink
Added onColumnSwitchAll docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Mar 14, 2022
1 parent e859aa6 commit 6c74fbe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ interface BootstrapTableEvents{
'all.bs.table': string;
'uncheck-all.bs.table': string;
'column-switch.bs.table': string;
'column-switch-all.bs.table': string;
'check.bs.table': string;
'search.bs.table': string;
'load-success.bs.table': string;
Expand Down
12 changes: 12 additions & 0 deletions site/docs/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,18 @@ $('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) {
* `field`: the field name corresponding to the switch column.
* `checked`: the checked state of the column.

## onColumnSwitchAll

- **jQuery Event:** `column-switch-all.bs.table`

- **Parameter:** `checked`

- **Detail:**

It fires when toogle all columns. The parameters contain:

* `checked`: the checked state of the column.

## onDblClickCell

- **jQuery Event:** `dbl-click-cell.bs.table`
Expand Down

0 comments on commit 6c74fbe

Please sign in to comment.