新增 treeTable 补充 getOptions
和 hideCol
方法
This commit is contained in:
parent
378fb2cf28
commit
6f25d2f2e5
@ -24,14 +24,16 @@ layui.define(['table'], function (exports) {
|
|||||||
that.config = $.extend({}, that.config, options);
|
that.config = $.extend({}, that.config, options);
|
||||||
return that;
|
return that;
|
||||||
},
|
},
|
||||||
resize: table.resize
|
resize: table.resize,
|
||||||
|
getOptions: table.getOptions,
|
||||||
|
hideCol: table.hideCol
|
||||||
};
|
};
|
||||||
|
|
||||||
// 操作当前实例
|
// 操作当前实例
|
||||||
var thisTreeTable = function () {
|
var thisTreeTable = function () {
|
||||||
var that = this
|
var that = this;
|
||||||
, options = that.config
|
var options = that.config
|
||||||
, id = options.id || options.index;
|
var id = options.id || options.index;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
config: options,
|
config: options,
|
||||||
|
Loading…
Reference in New Issue
Block a user