How to change Save button behavior in V24 so no data is saved
We need the SAVE button to work only saving the SLICE part of the JSON file. In prior versions, when saving a report in xml only the SLICE part of it was saved, never the data. So when the report was retrieved from file, it would apply the retrieved structure or SLICE to the already loaded data.
We need the SAVE button of probably all our reports to DO SAVE in JSON ONLY the SLICER PART, so that with in-memory loaded data, different predefined forms of the same structure of data could be immediately formed.
Thank you for writing. Save tab from the toolbar always saves your current report. To retrieve the current slice please use
flexmonster.getReport().slice method. This API call will return slice object. To save this slice we recommend you modifying Save tab with the help of
beforetoolbarcreated event (see documentation + example). Please let me know if you need more information.