I want to create nested accordion without using JS (only HTML)

Hello,
I see your example right there:
https://ej2.syncfusion.com/angular/demos/#/material/accordion/default
I want to do sth like this:
https://stackblitz.com/edit/angular-whylkl?file=app.component.html
and its working exactly as it should but only in StackBlitz. When i paste this code to my visual studio code it didnt work. I mean it didnt show on my page. This code works without nested accordion, but i want it to work as in stackblitz link.



What can cause the problem?

Best regards,
Karol Lasek

2 Replies 1 reply marked as answer

KA Karol October 23, 2020 12:21 PM UTC

The problem:
I was using older version of angular-navigations. Change in package.json (this will work):
"@syncfusion/ej2-angular-navigations""^18.3.42",




SK Satheesh Kumar Balasubramanian Syncfusion Team October 23, 2020 02:08 PM UTC

Hi Karol,

Greetings from Syncfusion Support.

We have validated your reported query "I want to create nested accordion using without using JS(only HTML)" at our end. But we were unable to replicate the reported issue at our end. Please refer the sample in the following link. 

Kindly try the sample, if the issue persist still share the following details to validate the issue further. 
  
  • Try to replicate the issue in the above sample
  • Share issue depicting image/video
  • Try to share issue replicating sample(If Possible)

Regards, 
Satheesh Kumar B 


Marked as answer
Loader.
Up arrow icon