sbyrne
09/24/2019, 7:36 PMTableCellFragment
, how do I bind a Property<CssRule>
that sets the style for the tableRowCell
?sbyrne
09/24/2019, 7:50 PMfun <S,T> TableCellFragment<S,T>.bindClass(prop:Property<CssRule>) {
cellProperty
.onChange { cell ->
cell?.bindClass(prop)
}
}
called from init
seems to do the trick.