grouplist "firstChild is not a function"


i tried to use the method firstChild on the grouplist api but i get this error:

“firstChild is not a function”

what im trying to do is get the grouplist´s structure and save it as a json so i need to go through every item and get all its data.

thank you

Yep, current version has a small issues with hierarchy api in group list, you can access that method as

var some = $$('mylist').data.firstChild(0)

also, you can can get json object with all current data as

var json = $$('mylist').data.serialize()

perfect thank you :smiley: