Hi.
I seem to be getting an error while calling .setStructure() on my pivot table.
I am using the following structure:
{"structure":{
"rows":["rescue_nation","rescue_region"],
"columns":[{"id":"summary","sort":"string"}],
"values":[
{"name":"counter","operation":["sum"]},
{"name":"age","operation":["avg","min","max"]},
{"name":"time_to_rescue","operation":["avg","min","max"]}],
"filters":[]
},
"label":"Rescue Nation / Rescue Region by Summary"
}
This worked in version 3.2, however with the latest version 3.3.13 I am receiving Uncaught TypeError: Cannot read property ‘_as’ of undefined.
I am also noticing the same error on your demo online:
http://docs.webix.com/samples/61_pivot/01_init/08_sorted_header.html
I call this after pivot table initialization:
$$("pivot").setStructure(report_config.structure);
// where report_config.structure equals the value above
Any ideas?
Thanks.