Results 1 to 3 of 3

Thread: Toolbar button

  1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
      0  

    Question 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,246
    Vote Rating
    119
      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
      0  

    Default

    Thanks. That makes sense.

Posting Permissions

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