• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTableViewBindig inversing rows and columns ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: NSTableViewBindig inversing rows and columns ?
      • From: Dustin Voss <email@hidden>
  • Prev by Date: Re: developing a cross-platform app?
  • Next by Date: Rendezvous between multiple users on the same computer
  • Previous by thread: Binding values from daabase
  • Next by thread: Re: NSTableViewBindig inversing rows and columns ?
  • Index(es):
    • Date
    • Thread