Group¶
-
class
webix.
Group
()¶ Group mixin
References¶
- mixins
GroupStore()
.- helpers
bind()
,extend()
.
Referenced by¶
- views
chart()
,datatable()
,grouplist()
,tree()
.
External references¶
Code¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | webix.Group = {
$init:function(){
webix.extend(this.data, webix.GroupStore);
//in case of plain store we need to remove store original dataset
this.data.attachEvent("onClearAll",webix.bind(function(){
this.data._not_grouped_order = this.data._not_grouped_pull = null;
this._group_level_count = 0;
},this));
},
group:function(config){
this.data.ungroup(true);
this.data.group(config);
},
ungroup:function(skipRender){
this.data.ungroup(skipRender);
}
};
|