• 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
NSTableView column index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView column index


  • Subject: NSTableView column index
  • From: "Falko A." <email@hidden>
  • Date: Sun, 30 Jan 2005 18:08:09 +0100

Hi,

I'm trying to implement a sortable NSTableView, which is why I want to store the data of a multi column table
in one NSMutableArray. That array will contain sub-arrays containing the data for each column.
My data source has to know about the index of a column to return it's data.
Is there any way to query a column for its index/position in the tableView? Is there any other way to
sort a multi column table? I searched the internet, but I couldn't find any examples on sorting
an NSTableView with multiple columns...


I previously stored one array per column as its identifier, but there's probably no way to sort multiple
columns/arrays at once by an already existing function (where only one of the arrays is used to determine
the order), is there?


Thanks in advance
Falko A.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTableView column index
      • From: Mark Munz <email@hidden>
  • Prev by Date: (no subject)
  • Next by Date: NSArrayController and dataSource causes errors
  • Previous by thread: Re: (OT) Helper tool crashing under 10.2.8
  • Next by thread: Re: NSTableView column index
  • Index(es):
    • Date
    • Thread