1. #1
    Sencha Premium Member
    Join Date
    Aug 2013
    Posts
    7
    Vote Rating
    0
    Riddhi.T is on a distinguished road

      0  

    Default Unanswered: Sencha Touch Grid

    Unanswered: Sencha Touch Grid


    Hi,

    I am using bundle provided by snecha to render a grid. I am using 'grideditable' and 'gridmultiselection' plugins for grid the problem is can we Hide 'Delete' button in both these cases and can we get handle on Submit button of sheet that show up on edit of particular row.

    Thank you and regards.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,679
    Answers
    310
    Vote Rating
    117
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

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

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

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2013
    Posts
    7
    Vote Rating
    0
    Riddhi.T is on a distinguished road

      0  

    Default


    Hey, Thanks for reply will u please giv me one example to override these classes...

  4. #4
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,679
    Answers
    310
    Vote Rating
    117
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    I stand corrected you won't need override to hide the delete button of the editable plugin. There is a config item you can pass in 'enableDeleteButton'.
    Code:
    {type: 'grideditable',enableDeleteButton:false},
    I would suggest taking a look at the code.
    You would define an override as follows:
    Code:
    Ext.define('Override.grid.plugin.Editable', {
        override: 'Ext.grid.plugin.Editable',
     // Whatever method or property you need to override or new property or method
    });
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

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

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

    Need to include a test case use:
    The official Sencha Fiddle

  5. #5
    Sencha Premium Member
    Join Date
    Aug 2013
    Posts
    7
    Vote Rating
    0
    Riddhi.T is on a distinguished road

      0  

    Default


    Ok thanks a lot got it, thanks for ur valuable time

Thread Participants: 1