1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    oliver.cox is on a distinguished road

      0  

    Default Answered: Grid Action prevent editing

    Answered: Grid Action prevent editing


    Hi,

    I have been having a problem whereby the StopSelection config option on the Ext.grid.column.Action does not prevent entering edit on a row. This only applies when the editor.ClicksToEdit is set to 1.

    Am I wrong in assuming that the StopSelection should also prevent entering edit?

    Thanks

    Oliver
    Last edited by oliver.cox; 17 May 2012 at 1:06 AM. Reason: Title doesn't reflect the nature of the issue

  2. This will not affect the editing. This is related to selecting the record when clicking the icon.

    Regards,
    Scott.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,637
    Answers
    613
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This will not affect the editing. This is related to selecting the record when clicking the icon.

    Regards,
    Scott.

  4. #3
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    oliver.cox is on a distinguished road

      0  

    Default


    Hi Scott,

    Thanks for confirming this. Are you aware of any way I can prevent entering edit when clicking an action column?

    Thanks

    Oliver

  5. #4
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Answers
    124
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi,

    You must see it....
    related with as yours thread...

    http://www.sencha.com/forum/showthre...-t-hide-fields
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  6. #5
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    oliver.cox is on a distinguished road

      0  

    Default


    Hi,

    Thanks for that, it wasn't quite what I needed though. I need to prevent the row entering edit when the action column is clicked as opposed to prevent the action column displaying when editing.

    For now I have a solution that involves add a custom config setting "suspendEditing" which I set to true in the action column handler. A modal form is then opened and when closed "suspendEditing" is set to false. In the beforeedit handler I return !suspendEditing.

    I'm not sure this is the best way to handle this as I don't really want to add a custom setting to all my grids. Any ideas as to how I can better achieve this would be appreciated.

    Thanks

    Oliver

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar