Hi team,
i would like to know how can i change programatticaly all the captions of the mappingObject?
Thank you in advance
Massimo
Hello, Massimo,
Thank you for your question.
You could provide a new mapping object with updated captions. Then reload the data via the connectTo() API call or reset the report with the setReport() API call. As a result, Flexmonster will apply the new mapping object with the new captions.
Here is a JSFiddle example demonstrating this approach: https://jsfiddle.net/flexmonster/n1vqmhrc/.
Please consider that the mapping object is part of the data structure definition. This is why it is necessary to reload the data or reset the report in Flexmonster if the mapping object changes.
Please let us know if this works.
Kind regards,
Vera