View Full Version : List component without a store, for menu navigation

12 Jun 2011, 10:10 AM

I have to make a menu navigation that looks like the attached image.
It looks like a list so my first attempt was to use the list component because of the disclosure icons, events like itemtap etc.
But, is there a way I could create it without a store?
It seems too much the need to create a store for that.

How could I create it with hard-coded values without the need of a store/model?


14 Jun 2011, 4:32 AM
You could do something like this and use css to make it look how you want:

xtype: 'panel',
html: 'menu 1',
listeners: {
afterrender: function(c) {
c.body.on('click', function() {
alert('menu 1 clicked');

17 Nov 2011, 1:26 AM
Hi Chirieac,

Did you find a solution to your problem? I am trying to do the exact same thing.

Any help would be appreciated.