See here:
http://www.cocoabuilder.com/archive/cocoa/174051-programmatically-sort-nstableview.html
and here
http://www.cocoabuilder.com/archive/cocoa/115880-programatically-sorting-tableview.html
Am 12.07.2011 um 22:43 schrieb James Walker:
> I have an NSTableView containing one column, which i
On 7/12/2011 11:43 PM, Ken Thomases wrote:
On Jul 12, 2011, at 9:24 PM, James Walker wrote:
On 7/12/2011 6:14 PM, Ken Thomases wrote:
On Jul 12, 2011, at 5:36 PM, James Walker wrote:
On 7/12/2011 2:04 PM, Ken Thomases wrote:
Invoking -setSortDescriptors: on the array controller does sort i
On Jul 12, 2011, at 9:24 PM, James Walker wrote:
> On 7/12/2011 6:14 PM, Ken Thomases wrote:
>> On Jul 12, 2011, at 5:36 PM, James Walker wrote:
>>
>>> On 7/12/2011 2:04 PM, Ken Thomases wrote:
>>>
Invoking -setSortDescriptors: on the array controller does sort it (or
should).
Ba
On 7/12/2011 6:14 PM, Ken Thomases wrote:
On Jul 12, 2011, at 5:36 PM, James Walker wrote:
On 7/12/2011 2:04 PM, Ken Thomases wrote:
Invoking -setSortDescriptors: on the array controller does sort it (or should).
Back on 10.4, it may have been necessary to follow that with a call to
-rearran
On Jul 12, 2011, at 5:36 PM, James Walker wrote:
> On 7/12/2011 2:04 PM, Ken Thomases wrote:
>
>> Invoking -setSortDescriptors: on the array controller does sort it (or
>> should).
>> Back on 10.4, it may have been necessary to follow that with a call to
>> -rearrangeObjects.
>
> -[NSArrayCont
> Am 12.07.2011 um 22:43 schrieb James Walker:
>
>> I have an NSTableView containing one column, which is bound to an
>> NSArrayController. I've set a sort key and selector for the column
>> in IB, and I've called setSortDescriptors: on the array controller.
>> Clicking the column header sorts it
On Jul 12, 2011, at 3:43 PM, James Walker wrote:
> I have an NSTableView containing one column, which is bound to an
> NSArrayController. I've set a sort key and selector for the column in IB,
> and I've called setSortDescriptors: on the array controller. Clicking the
> column header sorts it,
I have an NSTableView containing one column, which is bound to an
NSArrayController. I've set a sort key and selector for the column in
IB, and I've called setSortDescriptors: on the array controller.
Clicking the column header sorts it, but how can I sort
programmatically? It seems odd that