aimozg
07/25/2018, 7:31 PMtext:String
and status:ValidationStatus
(UNKNOWN/VALID/INVALID/MIXED)
And I want to render a tree cell with its text and give it a status-dependent class like .validataion-unknown
And I can do it with
cellFormat { /*this: TreeCell<MyItem>, it: MyItem ->*/
text = it.text
addClass(".validataion-${it.status.name,toLowerCase()}")
}