Hello everyone
here is my exemple https://jsfiddle.net/90q73bm4/7/
(slow because thousand line of data …)
i have a table with many row,
I want my line to be red when an object is canceled
i use
cells(row, col, prop) {
const cellProperties = {} as any;
const logicalRow = this.instance.runHooks('modifyRow', row);
const data = this.instance.getSourceDataAtRow(logicalRow);
if (data && !!data.cancelled) {
cellProperties.className = 'cancelled htCenter';
}
return cellProperties;
},
it works
but when I use the filters or sort the red lines are not cancel objects
so i dont know what i m doing bad ?