According to http://help.infragistics.com/jQuery/2014.1/ui.igtoolbar, I think this should deactivate all buttons:
var toolbars = $(".ui-igtoolbar");$.each(toolbars, function(key, value) { $(value).igToolbar("deactivateAll");});
But, it doesn't :( How to deactivate all buttons of all toolbars of an igHtmlEditor? Thanks.
It is not documented -till now :) - but I found my own solution:
var toolbars = $(".ui-igtoolbar"); $.each(toolbars, function(key, value) { var items = $(value).igToolbar("option", "items"); $.each(items, function(k, item) { $(value).igToolbar('disableItem', item.settings.name, true); }); });
Hope this can helps someone.