PDA

View Full Version : Is it a way to add a button or any component to the List cells ?



eilijah
23 Nov 2011, 9:20 AM
Hello,

I am filling a simple List with a store, for each of the cells i need to add 1 delete button and 1 stepper to change the order in the list. So basically 3 buttons, one to pull up the element, one for pull down and one for delete.

But i cant find a way to add buttons into the list cells. I cant even find the items in the list.items array, only my toolbar stands in there. So i basically cannot loop over items and add the buttons.

Is it a way to do this please ?

mitchellsimoens
23 Nov 2011, 9:57 AM
ComponentView was designed in order to support this.

Manoj Solanki
5 Nov 2012, 12:53 AM
Can you please share the code for these.

Thanks in advance.....

ingo.hefti
5 Nov 2012, 10:24 AM
have a look here http://dev.sencha.com/deploy/sencha-touch-2.1.0-rc2/release-notes.html
under "Release Notes for Sencha Touch 2.1.0-b3"