I need to make XML for data. PHP, how to make the XML default for the data (fill and row).
To create XML file with default configurations (data source, rows, columns) please use the following XML as a template and fill it with your values - https://cdn.flexmonster.com/2.3/reports/report-sample.xml
Then pass file URL to the embedPivotComponent() method:
var params = { configUrl : "config.xml", licenseKey: "Z57T-132Y57-6M05-6A5L-3L3U-662O-686W-5A2F-5N4D-39" };
flexmonster.embedPivotComponent("flexmonster/", "pivotContainer", "100%", "615", params, "html5", true);
Hello all Flexmonster users,
Please note that embedPivotComponent() method was deprecated in version 2.3. You should use $("#pivotContainer").flexmonster()
instead.
Also, in version 2.3 report object was structured. Properties were logically grouped into sub-objects. For example, all related to data sources properties are inside dataSource
sub-object now.
XML reports are fully supported in terms of backward compatibility. It means you can open or set reports from the previous major version. Please note, that all reports will be saved in new JSON structure.
Regards,
Tanya