Re: Disabling Sorting of columns in Tableview
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