Re: index column in bound NSTableView
Re: index column in bound NSTableView
- Subject: Re: index column in bound NSTableView
- From: Matt Neuburg <email@hidden>
- Date: Sun, 23 Jan 2005 10:50:58 -0800
On Fri, 21 Jan 2005 14:37:09 -0800, Alex Rosenberg <email@hidden> said:
>Given an NSTableView using bindings, is there a simple way to add a
>column of the original array index numbers?
>
>The numbers should properly jumble when the the table is sorted.
The array is presumably an array of something - like, mutable dictionaries.
So I would write a routine that runs through the array, and adds to each
mutable dictionary a key-value pair whose key corresponds to the extra
column in the table and whose value is the index number. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
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