/** * 初始化 kendo ui Table list tree 的封装 * @author LiaoYun 2019-09-17 945505778@qq.com */ (function () { var KDListTreeTable = function (kdtableId, url, columns) { this.kdtableId = kdtableId; this.url = Feng.ctxPath + url; this.method = "post"; this.columns = columns; this.height = 595; //默认表格高度665 this.fields = {}; //data type of the field {number|string|boolean|date} default is string this.code = ''; this.parentCode = ''; this.resizable = true; //表格宽度允许拖动 this.reorderable = true; //是否允许拖动列来改变列的显示顺序 this.selectable = true; //是否允许选择 if (columns!=null && columns.length>0) { for(var i=0; i