A simple hack is to allow all columns to be hidden unconditionally (in my application I don't bother about checking whether hideable columns exist, because I know they do...)
Ext.override(Ext.grid.header.Container,
{
updateMenuDisabledState: function()
{
var me = this,
result = me.getLeafMenuItems(),
total = result.checkedCount,
items = result.items,
len = items.length,
i = 0,
rootItem = me.getMenu().child('#columnItem');
//if (total <= 1)
if (total <= 0) /* Allow all columns to be hidden unconditionally */
{
me.disableMenuItems(rootItem, Ext.ComponentQuery.query('[checked=true]', items)[0]);
}
else
{
for (; i < len; ++i)
{
me.setMenuItemState(total, rootItem, items[i]);
}
}
}
});