From a usability view, having a checkbox that is not clickable is pretty
misleading, especially if the visual style is exactly the same as in
other places in the UI where the checkbox is functional.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
header: gettext('Enabled'),
width: 80,
dataIndex: 'enabled',
- xtype: 'checkcolumn',
+ align: 'center',
+ renderer: Proxmox.Utils.renderEnabledIcon,
sortable: true,
- disabled: true,
- disabledCls: 'x-item-enabled',
- stopSelection: false,
},
{
header: gettext('ID'),
me.columns = [
{
- text: gettext('Enabled'),
+ header: gettext('Enabled'),
+ width: 80,
dataIndex: 'enabled',
- xtype: 'checkcolumn',
+ align: 'center',
+ renderer: Proxmox.Utils.renderEnabledIcon,
sortable: true,
- disabled: true,
},
{
text: 'ID',