20 Feb 2009 3:21 AM #1
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.
20 Feb 2009 3:24 AM #2
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
I wouldn't remove the button (you need it again after the user makes changes).
Use btn.hide() and btn.show() instead.
20 Feb 2009 3:48 AM #3