Tree View with not known elments


#1

Hi Meteor Community,

i want display a pricelist like this:

Category1
     SubCat1
         Prod1
         Prod2
     SubCat2
         Prod1
Category2
     SubCat1
         Prod1
         Prod2
     SubCat2
         Prod1

the number of the categories, sub categories,sub sub categories …, and products is not known.
i don’t have a idea how can i do this with meteor.

have any little help for me

thanks


#2

You can use recursive templates.


#3

thank you that’s works great