PDA

View Full Version : Ext.plugin.touch.GridEditor, v0.1



mitchellsimoens
22 Mar 2011, 12:21 PM
I felt like making a quick plugin to allow Ext.ux.TouchGridPanel to be editable. So here it is.

I felt like adding a TextField to a cell wouldn't work well with smaller screens so I am using MessageBox to prompt for a new value. It listens to the 'taphold' event.

Demo: http://www.simoens.org/Sencha-Projects/demos/
GitHub: https://github.com/mitchellsimoens/Ext.plugin.touch.GridEditor

dorgan
22 Mar 2011, 12:46 PM
Just tried this on my iPhone and tap hold may not be the best way to trigger this....

I was able to get the messagebox to prompt me for a new value 1 time but after that I havent been able to get it to show up again...even after refreshing.....

What about a double tap? Or a slide on the row itself?

mitchellsimoens
22 Mar 2011, 1:00 PM
Just tried this on my iPhone and tap hold may not be the best way to trigger this....

I was able to get the messagebox to prompt me for a new value 1 time but after that I havent been able to get it to show up again...even after refreshing.....

What about a double tap? Or a slide on the row itself?

Thank you for testing. I have made 2 changes:


You can now change the event to which it listens to. Default is taphold but online demo is using doubletap.
When the MessageBox hides, I was destroying it. This was why it wasn't allowing more than 1 edit. So that's fixed.


Anything else?