This is probably better suited to being discussed via a jira issue as it'll likely turn into a bug report - could you please file one?

Whilst you're doing that, it would be interesting to take a step back and understand why you're wanting to create a TableRow / TableRowSkin subclass? I'm not aware of many people doing this (or setting a custom row factory). What functionality are you trying to achieve? If you could include these details in the bug report we can move forward with the best approach from there.

-- Jonathan

On 22/05/2013 8:31 a.m., Neil Galarneau wrote:
Hello,

Although most customizations to TableView can be done with custom
TableCells, I think I need a custom TableRow.

I've been trying to follow Paru's advice from her JavaOne talk with
Jonathan on starting to build a custom control based on Control.
I have subclassed TableRow & TableRowSkin and am setting a Row
Factory on the TableView.
I can see my subclasses getting instantiated, but in my TableRow
subclass, getUserAgentStylesheet() is not getting called, which I
think is why my custom .css file isn't getting applied.

Because I have removed the table-row-cell style class in my TableRow
subclass, the table is not styled.

Can someone suggest what I can do to get my css loaded & applied?

Thanks,

Neil



Reply via email to