Re: Attempting to create NSTableView with Single Header

2008-05-20 Thread John Terranova
3 steps to closely approximate what you want. 1) In IB, turn off column headers for the table. 2) Add this delegate method to the delegate object for the table: - (BOOL)tableView:(NSTableView *)tableView isGroupRow:(NSInteger)row { return row == 0; // the first row of the table will be treated

Re: Attempting to create NSTableView with Single Header

2008-05-20 Thread Brent Fulgham
On May 20, 2008, at 8:19 PM, Hamish Allan wrote: On Wed, May 21, 2008 at 12:11 AM, Brent Fulgham <[EMAIL PROTECTED]> wrote: | My single column header | |Label 1 | Value 1| |Label 2 | Value 2| Does anyone have any ideas for how to accomplish this? How a

Re: Attempting to create NSTableView with Single Header

2008-05-20 Thread Hamish Allan
On Wed, May 21, 2008 at 12:11 AM, Brent Fulgham <[EMAIL PROTECTED]> wrote: > | My single column header | > |Label 1 | Value 1| > |Label 2 | Value 2| > Does anyone have any ideas for how to accomplish this? How about using a single column, with a data cell that d