mirror of
https://gitee.com/layui/layui.git
synced 2025-10-25 18:29:11 +08:00
新增 treeTable 补充 getOptions 和 hideCol 方法
This commit is contained in:
@@ -24,14 +24,16 @@ layui.define(['table'], function (exports) {
|
||||
that.config = $.extend({}, that.config, options);
|
||||
return that;
|
||||
},
|
||||
resize: table.resize
|
||||
resize: table.resize,
|
||||
getOptions: table.getOptions,
|
||||
hideCol: table.hideCol
|
||||
};
|
||||
|
||||
// 操作当前实例
|
||||
var thisTreeTable = function () {
|
||||
var that = this
|
||||
, options = that.config
|
||||
, id = options.id || options.index;
|
||||
var that = this;
|
||||
var options = that.config
|
||||
var id = options.id || options.index;
|
||||
|
||||
return {
|
||||
config: options,
|
||||
|
||||
Reference in New Issue
Block a user