Documentation

showBatch

makes visible those elements which parameter 'batch' is set to the specified name

void showBatch(string name);

Parameters

namestringthe batch name

See also

Example

webix.ui({ view:"toolbar", id:"mybar", visibleBatch:"b2", cols:[ 
            {view:"button",  value:"Save",   batch:"b1"}, 
            {view:"button",  value:"Cancel", batch:"b1"}, 
            {view:"button",  value:"Edit",   batch:"b2"},
            {view:"button",  value:"Back",   batch:"b2"}]
});
...
$$("mybar").showBatch("b1");

Back to top