I’m trying to conditionally add some custom HTML to table cells, but it’s semi-random across the whole table and not specific to a given column. I also have a lot of other complex column config that I don’t want to re-write.
For example, my column definitions look like this:
{
data: “mass_density”,
type: “numeric”,
className: “input data other-things”,
format: “0[.][0000000000]”,
}
I see some of those values get passed into cellProperties
in the custom renderer, but it seems like the custom renderer can only do DOM manipulation, and doesn’t support return
ing the cellProperties to pass them through. It also doesn’t seem like I can handle this in the cells
option since that appears to only support returning the modified cellProperties. Thoughts?