I have a tableview with a `cellFormat {}` block in...
# tornadofx
s
I have a tableview with a
cellFormat {}
block in one of my columns. Why is my cellFormat not called when the value of the property bound to the column is changed?
b
he should not
describe what you want to achieve
s
I want to rerender a cell to completely change the
graphic
when the value is changed. E.g.: depending on the value I will render a checkbox or a textbox.
b
inside the
cellFormat
block do you use
it
?
s
No.
b
Sorry, I was wrong,
this
s
I use
this.rowItem
.
And, of course,
this.graphic
.
b
you better use
cellFactory
or
cellFragment