Hi,
I have a pivot table with two columns. This pivot is presented as a tree with all branches oppened.
Is the a way to show all items collapsed?
Thanks in advance,
Ary
Hi,
I have a pivot table with two columns. This pivot is presented as a tree with all branches oppened.
Is the a way to show all items collapsed?
Thanks in advance,
Ary
Hi Ary,
Pivot sets open = true
property for all folders. However, you can define scheme $init for the datatable and remove this property from data items:
webix.ui({
view:"pivot",
datatable:{
scheme:{
$init:function(obj){
if(obj.open)
delete obj.open;
}
}
},
...
});
Thanks Maria. Perfect!
many thanks worked a treat