1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Question Toolbar button

    Toolbar button


    I have an editable grid. In the paging toolbar, a 'Save Changes' button is added if the contents of this grid are changed by the user.

    Now, I want to remove this button if the changes are reverted by the user.

    Is there any way to remove a button in a toolbar?

    I looked at the documentation, but that didn't help.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    I wouldn't remove the button (you need it again after the user makes changes).

    Use btn.hide() and btn.show() instead.

  3. #3
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Default


    Thanks. That makes sense.

Thread Participants: 1

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