In the filter in the colModel, for compare, add the ui or rowData parameter so that we can use the rowData, as sometimes a cell is rendered or formatted to include data from other columns or data.
//override range compare function.
conditions: {
range:{
//override compare property of range condition.
compare: (cellData, value, value2, ui) => boolean
}
}