RE: NSTableView - hiding columns

2008-04-11 Thread Valentin Dan
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 af

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

NSTableView - hiding columns

2008-04-11 Thread Valentin Dan
Hi, I have a table view that has visible vertical lines between columns. I’m trying to hide a column and I’m probably / certainly going about it the wrong way. Currently the only way I found to hide it was to set it’s width & minimum width to 0 (I still need to work with it’s data in the