I need to get the value of the primary key (shown in the table) of the selected row of my table, no matter how the table is sorted interactively.
I'm able to get the selected row index, but this seems to give the "geographic" index of the selected row in the table, as sorted. So far, I've solved my problem by ensuring that the table source is sorted by it's primary key, and blocking sorting in the table itself. This is not too bad for my application (in it's current state, at least), but eventually I'd like to be able to sort the table interactively and map the selection back to the original data. I'm using IB and key value binding, and registering a notification to get the fact of selection did change. Thanks, John Velman _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
