I am trying to remove the toolbar from Sencha Picker (I only need the scrolling area with the event 'pick') - but nothing seems to work. The problem is that we must copy the sencha docs code of Picker (WITH slotpicker code) and try to remove it from there. However - this doesn't work and removed the whole slot area. Can anyone help?
Asked
Active
Viewed 410 times
1 Answers
1
Just set the toolbar invisible
toolbar: {
hidden: true
}
BTW why not just to do
doneButton: false,
cancelButton: false,
toolbar: {
ui: 'light',
title: 'My Picker!'
}
?

o_nix
- 1,146
- 1
- 16
- 30
-
That works, The problem with Sencha is that I couldn't guess we have this option... I had to ask you – Assaf May 20 '12 at 10:52
-
Sencha has got a [good documentation](http://docs.sencha.com/touch/2-0/#!/api/Ext.picker.Picker). – o_nix May 20 '12 at 11:22
-
That is right, however - from that - you still should have **GUESSED** you can do the hidden trick... – Assaf May 20 '12 at 14:18