NSTableViewBindig inversing rows and columns ?
NSTableViewBindig inversing rows and columns ?
- Subject: NSTableViewBindig inversing rows and columns ?
- From: Herve Bouvier <email@hidden>
- Date: Wed, 19 May 2004 15:14:48 +0200
Hello Gurus!
Is there a way to Bind, in a single NSTableView, multiple Arrays (with
the same number of ordered objects), one Array for each TableColumn ?
For example, sometimes it's Useful to use the first column to display
row's labels (in addition or instead of Columns headers)
but if i use an array of labels for the first column and an array of
value object for the second column, how do i set bindings ?
It seems i need there to know first in witch array (Column) i have to
get the value Then the index (row) in the Array.
If i look at the Key-Value Coding i can't figure out how I could
'inverse' the
-objectIn<Key>AtIndex: to get the 'row object' folowed by a
valueForKey: sent to the 'row object'
By something like
-arrayFor<key>: to get the 'column array' folowed by a valueAtIndex:
sent to the 'column object'
Maybe there is an other way to do ?
Is there a way for displaying row's Labels ?
thanks for any help
Herve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.