Many display attributes of controls are managed by an undocumented theming system, and this may be what you are hitting against. It is not terribly hard to figure out what attributes are being applied, but where and when are not always easy (especially with table views) and will likely require subclassing to get the behavior you want.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business”
> On Feb 16, 2023, at 1:07 AM, Luke <
luke....@gmail.com> wrote:
>
> I'm trying to figure out how to programmatically set the background color of a table row (cell based table) based on the row data.
>
> In the past in cocoa, I've used a delegate method to be told when a cell is about to be drawn and then set the background colour, but I think maybe Cappuccino does things a bit differently?
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
objectivej+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/objectivej/576d077f-5d90-4663-b0b2-6b1d03e1bb02n%40googlegroups.com.