I know I can add the conditional colouring of a column in a dataframe using something along the lines of
const rules = [
‘">5":"#ffffff’,
‘">1":"#aaaaaa"’,
‘">0.000001":"#000000"’
];
df = grok.shell.tableByName(‘myDF’);
columns = df.columns;
columns[4].setTag(’.color-coding-conditional’, {${rules.join(',')}}
);
columns[4].setTag(’.color-coding-type’, ‘Conditional’);
Now I wonder if there is also a way to remove that conditional colouring using a function? I tried some obvious pieces like
columns[4].setTag(’.color-coding-conditional’, Off
);
or
columns[4].setTag(’.color-coding-conditional’, null);
but these all ended up in errors.
Thanks Nik