RE: NSTableView - hiding columns

2008-04-11 Thread Valentin Dan
E 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 PROTECTED] Sent: 11 aprilie 2008 13:55 To: Valentin Dan Cc: CocoaDev list Subject: Re: NSTa

Re: NSTableView - hiding columns

2008-04-11 Thread Ian Jackson
to:[EMAIL PROTECTED] Sent: 11 aprilie 2008 13:26 To: Valentin Dan Subject: Re: NSTableView - hiding columns Can't you just set the number of columns you want for your table in IB? Ian. On 11/04/2008, at 7:37 PM, Valentin Dan wrote: Hi, I have a table view that has visible vertical

Re: NSTableView - hiding columns

2008-04-11 Thread Laurent Cerveau
On 10.5 you should b able to hide directly (NSTableColumn setHidden method). . Otherwise the best way is to keep an NSArray around (for example in a subclass of NSTableView) where you add the column you want to hide. Then when you hide a column you add it to this array and delete it from th