Results 1 to 3 of 3

Thread: Ext.plugin.touch.GridEditor, v0.1

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default Ext.plugin.touch.GridEditor, v0.1

    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/E...uch.GridEditor
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  2. #2
    Sencha User dorgan's Avatar
    Join Date
    Dec 2007
    Location
    Cocoa, FL
    Posts
    286
    Vote Rating
    -1
      0  

    Default

    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?

  3. #3
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Quote Originally Posted by dorgan View Post
    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?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Similar Threads

  1. Use bMap plugin in Sencha Touch??
    By albb in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 20 Dec 2010, 2:21 AM
  2. A sencha-touch based theme plugin for WordPress: first working alpha
    By sandro.paganotti in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 4
    Last Post: 4 Sep 2010, 6:15 AM
  3. PagingToolbar Plugin Problem with embedding combo box into the plugin
    By msairam.28@gmail.com in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 1 May 2009, 11:18 AM
  4. Plugin architecture: unload method for a plugin
    By mabello in forum Community Discussion
    Replies: 2
    Last Post: 17 Apr 2008, 12:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •