浏览代码

Add onColumnSwitch docs.

zhixin 11 年之前
父节点
当前提交
9d3ce31269
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/docs.js

+ 6 - 0
docs/docs.js

@@ -649,6 +649,12 @@ $(function () {
                     event: 'load-error.bs.table',
                     parameter: 'status',
                     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) {