I am using a nested row with some static dropdown. But I am not able to select the Dropdown list getting this below error.
Uncaught TypeError: Cannot read property ‘highlight’ of undefined
`cells: function (row, column, prop) {
var cellProperties = {};
//console.log(prop)
if ( [7,8,9].indexOf(column) > -1 ) {
if ( this.instance.getData(row,column).length && this.instance.getData(row,column)[row] && !this.instance.getData(row,column)[row][0] ) {
if ( column === 7 ) {
cellProperties.data = 'options',
cellProperties.type = 'dropdown';
cellProperties.source = ['0224', '0225', '0226', '0227'];
cellProperties.readOnly = false;
cellProperties.correctFormat = true;
cellProperties.className= 'mywindow'
}
cellProperties.className = "htRight htMiddle highlight";
cellProperties.readOnly = false;
cellProperties.className = "htRight htMiddle editQty";
}
}
return cellProperties;
},`