Allow treeList to have a header component

This commit is contained in:
Nick O'Leary
2020-09-16 11:41:29 +01:00
parent e619b9bf7b
commit 3824cdde68

View File

@@ -181,6 +181,9 @@
that._addSubtree(that._topList,container,item,0);
}
};
if (this.options.header) {
topListOptions.header = this.options.header;
}
if (this.options.rootSortable !== false && !!this.options.sortable) {
topListOptions.sortable = this.options.sortable;
topListOptions.connectWith = '.red-ui-treeList-sortable';