Skip to main content
Kent Lichty (Fike) a publié du contenu dans #Unofficial SF

We use the unofficialSF datatable component a LOT at my organization, and we have all come to truly appreciate it.  My question is this:  is it possible to CONDITIONALLY cause the cell attributes (e.g.,background color) to change?  For example, if the cell value is in error, then highlight it in red?  I have read about the "optional attribute" overrides in the documentation, but I can see no way to conditionally implement those attributes.  I do have a “work around” in my flow, but it is very ugly, as can be seen below where I use a crude technique to identify the particular cell which is in error.

We use the unofficialSF datatable component a LOT at my organization, and we have all come to truly appreciate it. My question is this: is it possible to CONDITIONALLY cause the cell attributes (e.g.

  So I am just wanting to know if this is even possible.  Thanks very much.

2 commentaires
  1. 25 sept. 2025, 18:47
    Felipe; thanks SO much for getting back with me on this; I really appreciate it. It is a very clever approach, and I am looking forward to trying it out. I think it would be a really nice feature if we could highlight cells in a datatable for a variety of purposes.
0/9000