This is old, but I came across today, so I decided that I could clear it .. addClass ('ui-state-disabled') will apply css to give this disabled look. But if you have events associated with the icon, it will still burn. You should also make sure your js knows when it was disabled. Maybe use if hasClass ('ui-state-disabled'). But just adding a css class does not disable the icon.
source share