I have a stored procedure which returns the data for the menu:
Then in my controller I do this:
And in the view
But when I start the project, I got something like this:
The child nodes are not inside their parents. There must be something I'm missing.
Thanks.
Bernard.