• 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
Re: making tableview non sortable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making tableview non sortable


  • Subject: Re: making tableview non sortable
  • From: Theodore Petrosky <email@hidden>
  • Date: Tue, 9 Nov 2004 10:59:03 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

all my popups are like this.

content = arrangedObjects [LFSubstrateController]
contentValues = arrangedObjects.mountSubstrate
[LFSubstrateController]

selectedValue = arrangedObjects.mountSubstrate
[LFArrayController]


LFSubstrateController is populated by a custom class
(MountSubstrate) that returns the array of objects. I
have no valueTransformers.

I did find that if I selected a column in IB and on
the NSTableColumn info panel set the Sort key to nil I
could get the table to do what I want. It still shows
the direction triagle but it does not sort.

Ted

>Message: 15
>Date: Tue, 9 Nov 2004 09:36:26 -0800
>From: mmalcolm crawford <email@hidden>
>Subject: Re: making tableview non sortable
>
>
>On Nov 9, 2004, at 7:59 AM, Theodore Petrosky wrote:
>> I have a tableview with bindings. some of the
columns
>> have popups (also with bindings). I am trying to
make
>> the table non-sortable. When I follow the
instructions
>> at:
>>
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
>> Disabling sorting in a tableview
>> It does turn off the sorting with an unfortunate
side
>> effect. All my popups now show instances of the
>> objects in the controller like: <LFProcessType:
>> 0x4504934>
>>
>What are the bindings for the popup?  This sounds
like the problem you
>get if you use the -description method to display a
value.
>
>mmalc



__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com


 _______________________________________________
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: making tableview non sortable
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: New Spotlight Info
  • Next by Date: Finder Labels/Colors of File
  • Previous by thread: Re: making tableview non sortable
  • Next by thread: Re: making tableview non sortable
  • Index(es):
    • Date
    • Thread