Dynamic accordians in listview

Hi,

I would like to know if it is possible to have a dynamic number of accordion items rendered in a list view, and how this could be achieved?

Regards

1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team April 5, 2019 09:24 AM UTC

Hi Rikard, 
 
Greetings from Syncfusion. 
 
We have prepared the sample to dynamically add the Accordion item and kindly refer the below API link. 
 
onChange() { 
    this.acrdnInstance.addItem({ 
      content: ' JavaScript (JS) is an interpreted computer programming language. ', 
      header: ' JavaScript ' 
    }); 
  } 
 
 
Regards, 
Karthi 


Loader.
Up arrow icon