Update the content of an item of accordion programmatically

is that possible to update the content of an item of an accordion programmatically?

The new value does not come necessarily from the server. It could be computed on the client-side.

Thank you for your help.

Best Regards,


please check the sample with loading data:


in case of client-side update, you can change template property using define() method and call render() method to redraw the view:

$$(“content”).define(“template”,“New content”);