The option to remove column in the context menu is grayed out. What would cause this?
Version 1.9.1
var dataObject = Model.getJSMetaData;
var hotElement = document.querySelector('#hot');
var hotElementContainer = hotElement.parentNode;
var hotSettings = {
data: dataObject,
columns: [
{
data: 'AssetId',
type: 'numeric',
width: 60
},
{
data: 'Platform',
type: 'numeric',
},
{
data: 'AnotherField',
type: 'text'
}
],
colHeaders: [ 'AssetId','Platform','AnotherField'],
columnSorting: {
column: 0
},
sortIndicator: true,
stretchH: 'all',
width: '100%',
autoWrapRow: true,
height: '100%',
contextMenu: true,
minSpareRows: 0,
allowInsertRow: false,
allowInsertColumn: false,
//maxRows: 22,
rowHeaders: true,
wordWrap:false,
dropdownMenu: true,
filters: true,
allowRemoveColumn: true,
manualColumnResize: true,
manualRowResize: true,
readOnly: true,
multiSelect: false,
columnSorting: true,
manualColumnMove: true,
afterOnCellMouseDown: itemSelected
};
var hot = new Handsontable(hotElement, hotSettings);