Apply different formatting to list items within a cell

Hi Ross, welcome to the community (and I’m sure we talked before :wink: )

You cannot apply conditional formatting to individual list items in a cell via Coda UI. But you can employ some hidden formula magic to e.g. set colors and highlights via formulas (note that setting highlights based on kr-* classes is unsafe and care should be taken when composing such formulas):

e.g. some sort of

Invited.FormulaMap(
  CurrentValue.Status.Switch(
    "Available", _Color("kr-green-light-bg", CurrentValue.Name),
    "Busy", _Color("kr-red-light-bg", CurrentValue.Name),
    CurrentValue.Name
  )
)
1 Like