Do not attempt to select cells with no column defined

This commit is contained in:
Andrew Henry 2019-09-06 15:54:44 -07:00
parent 02ef58ced1
commit 003c3e9fbe

View File

@ -64,7 +64,8 @@ export default {
return this.row.getFormattedValue(this.columnKey); return this.row.getFormattedValue(this.columnKey);
}, },
isSelectable() { isSelectable() {
return this.row.columns[this.columnKey].selectable; let column = this.row.columns[this.columnKey];
return column && column.selectable;
} }
} }
}; };