2 May 20238 minutes to read
Accordion items can be added dynamically by passing the item and index value with the
In the following demo, new items are added dynamically when you expand an Accordion header using
Data is fetched from the data source and it is formatted as a JSON object with
Here last index is calculated to append the new Accordion item at the end and the number of items are limited to 10, since the data bound have only 10 items.