RE: NSTableView - hiding columns
RE: NSTableView - hiding columns
- Subject: RE: NSTableView - hiding columns
- From: "Valentin Dan" <email@hidden>
- Date: Fri, 11 Apr 2008 07:04:12 -0400
- Thread-topic: NSTableView - hiding columns
Actually … you might be right :-)
___________________________________________________________________
Valentin Dan, Software Developer Direct: +1 905 886 1833 ext.3047
Email: HYPERLINK "mailto:email@hidden"email@hidden Office: +40 356-710158
Masstech Group Inc. Fax: +40 256-220912
HYPERLINK "http://www.masstechgroup.com/"http://www.masstechgroup.com
THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN PRIVILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS. PLEASE THEN DELETE THE ORIGINAL MESSAGE. THANK YOU.
_____
From: Valentin Dan
Sent: 11 aprilie 2008 14:01
To: 'Ian Jackson'
Cc: CocoaDev list
Subject: RE: NSTableView - hiding columns
I could do that if all the columns I wanted to hide were at the end of the column list … but if I remove a column in the middle and do not reflect that change in the dataSource it uses, the columns after it will contain wrong data.
___________________________________________________________________
Valentin Dan, Software Developer Direct: +1 905 886 1833 ext.3047
Email: HYPERLINK "mailto:email@hidden"email@hidden Office: +40 356-710158
Masstech Group Inc. Fax: +40 256-220912
HYPERLINK "http://www.masstechgroup.com/"http://www.masstechgroup.com
THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN PRIVILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS. PLEASE THEN DELETE THE ORIGINAL MESSAGE. THANK YOU.
_____
From: Ian Jackson [mailto:email@hidden]
Sent: 11 aprilie 2008 13:55
To: Valentin Dan
Cc: CocoaDev list
Subject: Re: NSTableView - hiding columns
What is the effect of using:
- (void)removeTableColumn:(HYPERLINK "file:///\\\\Developer\\Documentation\\DocSets\\com.apple.ADC_Reference_Library.CoreReference.docset\\Contents\\Resources\\Documents\\documentation\\Cocoa\\Reference\\ApplicationKit\\Classes\\NSTableColumn_Class\\Reference\\Reference.html#//apple_ref/doc/c_ref/NSTableColumn"NSTableColumn *)aTableColumn ?
I assume this just removes the column and doesn't affect the datasource. And you can use the corresponding method:
- (void)addTableColumn:(HYPERLINK "file:///\\\\Developer\\Documentation\\DocSets\\com.apple.ADC_Reference_Library.CoreReference.docset\\Contents\\Resources\\Documents\\documentation\\Cocoa\\Reference\\ApplicationKit\\Classes\\NSTableColumn_Class\\Reference\\Reference.html#//apple_ref/doc/c_ref/NSTableColumn"NSTableColumn *)aColumn
When the need arises to reshow it.
Ian.
On 11/04/2008, at 10:28 PM, Valentin Dan wrote:
The number of columns is dynamic as are the columns I need to hide ... it all depends on the settings & access rights of the user.
___________________________________________________________________
Valentin Dan, Software Developer Direct: +1 905 886 1833 ext.3047
Email: HYPERLINK "mailto:email@hidden"email@hidden Office: +40 356-710158
Masstech Group Inc. Fax: +40 256-220912
HYPERLINK "http://www.masstechgroup.com"http://www.masstechgroup.com
THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN PRIVILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS. PLEASE THEN DELETE THE ORIGINAL MESSAGE. THANK YOU.
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.12/1372 - Release Date: 10.04.2008 17:36
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.12/1372 - Release Date: 10.04.2008 17:36
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.12/1372 - Release Date: 10.04.2008 17:36
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden