1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    anwar31dec is on a distinguished road

      0  

    Default Save problem in EditorGridPanel

    Save problem in EditorGridPanel


    Hi all
    I am using EditorGridPanel with cellEditor which acts nearly like Excel. We implemented Arrow Keys to move among rows and

    columns. We do row validation when user moves from one row to another (specifically in rowdeselect event) and then save the

    record. There is some issues are:

    1. For the last row of the grid, rowdeselect event does not fire, as we do not have any other control after the grid.
    2. rowdeselect event fires if we move from row to row using Tab, Enter & Arrow keys. But when user clicks on another row

    using mouse - events do not come in correct sequence, so focus moves to the new row, but earlier row not saved. Currently we

    solved this by calling stopEditing at the beginning of rowdeselect event.

    We would like to know how we can solve these two issues and whether there are more robust ways to handle automatic grid saving.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,824
    Vote Rating
    836
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I have moved this thread to the Ext JS 3 Help & Discussion forum... please post in the appropriate forum
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1