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.
Sencha - Community Support Team
I wouldn't remove the button (you need it again after the user makes changes).
Use btn.hide() and btn.show() instead.
Thanks. That makes sense.