Table column header not highlighted at first
Table column header not highlighted at first
- Subject: Table column header not highlighted at first
- From: Graham Cox <email@hidden>
- Date: Fri, 15 Aug 2008 14:28:07 +1000
I have a table view with a column + column header with a sort
descriptor. In use, it works fine, I can click the column header and
it sorts the list as it should, and the little arrow points up or down
and it's blue.
When I first show the window though, it's white and no arrow is
visible. Clicking it turns it blue. What do I need to do to make it
come up properly first time? The table is the initialFirstResponder
and that works correctly.
Slightly weird - I have another list in the same window and its column
headers come up fine. I can't see what I'm doing differently in the
two cases, though that list has 3 columns and the one that doesn't
work only has 1. For both lists I use the list's sortDescriptors to
initially sort the items prior to loading the table when the window is
first displayed.
tia,
Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden