Programmatically click a column header in NSTableView
Programmatically click a column header in NSTableView
- Subject: Programmatically click a column header in NSTableView
- From: Tristan Jehan <email@hidden>
- Date: Tue, 23 Jan 2007 15:07:41 -0500
Dear list,
I've been trying to programmatically click an NSTableHeaderCell to
force the NSTableView to resort the data, and change its current
highlighted header to the new one. The following has no effect and I
don't understand why... Could someone help? Thank you.
NSTableColumn *myIndexColumn = [myTableView
tableColumnWithIdentifier:@"index"];
[[myIndexColumn headerCell] performClick:self];
NSLog(@"myCell: %@", [myIndexColumn headerCell]); // exists...
Tristan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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