sets the Pivot structure
config | object | the structure configuration object |
$$("pivot").setStructure({ /* structure config */});
Format of a config object is the same as the "structure" parameter of the constructor:
$$("structures").attachEvent("onItemClick", function(id) {
var str = webix.copy(this.getItem(id).structure);
$$("pivot").setStructure(str);
});