Browse Source

Add onColumnSwitch docs.

zhixin 11 years ago
parent
commit
9d3ce31269
1 changed files with 6 additions and 0 deletions
  1. 6 0
      docs/docs.js

+ 6 - 0
docs/docs.js

@@ -649,6 +649,12 @@ $(function () {
                     event: 'load-error.bs.table',
                     event: 'load-error.bs.table',
                     parameter: 'status',
                     parameter: 'status',
                     description: 'Fires when some errors occur to load remote data.'
                     description: 'Fires when some errors occur to load remote data.'
+                },
+                {
+                    name: 'onColumnSwitch',
+                    event: 'column-switch.bs.table',
+                    parameter: 'field, checked',
+                    description: 'Fires when switch the column visible.'
                 }
                 }
             ],
             ],
             onClickRow: function (row) {
             onClickRow: function (row) {