adapting a TableViewColumn delegate slightly
iridefix last edited by iridefix
my goal is to round the numeric values of a TableView column. Therefore I created a delegate for the TableViewColumn. But now the formating of the text is different to the one of the ohter columns. How can I force the column to have the same properties (font.pixelSize, ...) like the other columns (which have default properties)?
text: Math.round(styleData.value * 100) / 100
AFAIK there's no way to do that. The only way to do that would be to use the same custom delegate for other columns too.
iridefix last edited by
Ok thanks. I was assuming this.