Hi,
I'm using Menu to navigate at this point and initialize it with dynamic data, that depends on the current user logged-in, using this line:
this.Menu.setOptions({ dataSource: $.parseJSON(JSON.stringify(this.BindingSource._tableItem.Rows)) });
What I need is collapsing, so I think to replace the Menu with Toolbar, but can't find a way to initialize the Toolbar at run-time, except to run a series of different add commands...I'm more interested to bind it to some data (JSON)...
How can I do that?