• 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: Disabling Sorting of columns in Tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling Sorting of columns in Tableview


  • Subject: Re: Disabling Sorting of columns in Tableview
  • From: Robert Walker <email@hidden>
  • Date: Thu, 5 Oct 2006 14:36:14 -0400

Brahmendra,

If you are using Cocoa bindings with your table view there is a checkbox under "value" called "Creates Sort Descriptor." Removing the check for each column where you don't want sort descriptors should do the trick.

On Oct 5, 2006, at 1:39 PM, Ben Lachman wrote:

I'd look at NSTableView's setSortDescriptors: method. Setting to nil should do what you want. To do this on a per column basis you may have to pull out each column and set it individually.

->Ben
--
Ben Lachman
email@hidden
email@hidden
740.590.0009



On Oct 5, 2006, at 1:20 AM, Brahmendra Kashyap wrote:

Hi,

When we click on the header of column in a tableview,it gets sorted.
I want to disable that sorting of columns in tableview.
Any kind of help will be greatly appreciated.
Thanks in Advance,
--
Brahmendra Kashyap
_______________________________________________
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

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


This email sent to email@hidden

-- Robert Walker email@hidden



_______________________________________________
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


References: 
 >Disabling Sorting of columns in Tableview (From: "Brahmendra Kashyap" <email@hidden>)
 >Re: Disabling Sorting of columns in Tableview (From: Ben Lachman <email@hidden>)

  • Prev by Date: Re: bindings from threads
  • Next by Date: Re: Finding all deleted objects from Core Data
  • Previous by thread: Re: Disabling Sorting of columns in Tableview
  • Next by thread: Resizing Etiquette for views?
  • Index(es):
    • Date
    • Thread