We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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.
Live Chat Icon For mobile
Up arrow icon