If I am using a `TableCellFragment`, how do I bind...
# tornadofx
s
If I am using a
TableCellFragment
, how do I bind a
Property<CssRule>
that sets the style for the
tableRowCell
?
Copy code
fun <S,T> TableCellFragment<S,T>.bindClass(prop:Property<CssRule>) {
	cellProperty
			.onChange { cell ->
				cell?.bindClass(prop)
			}
}
called from
init
seems to do the trick.