FROM : Guy English
DATE : Mon Dec 13 19:41:14 2004
You can subclass NSTableHeaderCell to do what you want. You could also
just call setAlignment: on your cell with NSLeftTextAlignment to have
the headers flush left. I think you can also set this in IB actually.
Guy
On Sun, 12 Dec 2004 14:12:34 -0500, Bruce Truax <<email_removed>> wrote:
> Thanks. That did it. My data is displaying properly. Now if there was
> just a row header to make it look more like a spreadsheet. I added the row
> number to the first column as a reference but that does not stay locked to
> the left side of the view.
>
> This is good enough for my needs for now.
>
> Thanks for all of the help.
>
> Bruce
>
> On 12/12/04 1:55 PM, "Jonathan Jackel" <<email_removed>> eloquently
>
>
> wrote:
>
> > If you make headerCell an NSTableHeaderCell instead of a generic
> > NSCell, you'll probably get the appearance you desire.
> >
> > Also, you need to release headerCell once it is set as the column's
> > header.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/guy.<email_removed>
>
> This email sent to guy.<email_removed>
>
DATE : Mon Dec 13 19:41:14 2004
You can subclass NSTableHeaderCell to do what you want. You could also
just call setAlignment: on your cell with NSLeftTextAlignment to have
the headers flush left. I think you can also set this in IB actually.
Guy
On Sun, 12 Dec 2004 14:12:34 -0500, Bruce Truax <<email_removed>> wrote:
> Thanks. That did it. My data is displaying properly. Now if there was
> just a row header to make it look more like a spreadsheet. I added the row
> number to the first column as a reference but that does not stay locked to
> the left side of the view.
>
> This is good enough for my needs for now.
>
> Thanks for all of the help.
>
> Bruce
>
> On 12/12/04 1:55 PM, "Jonathan Jackel" <<email_removed>> eloquently
>
>
> wrote:
>
> > If you make headerCell an NSTableHeaderCell instead of a generic
> > NSCell, you'll probably get the appearance you desire.
> >
> > Also, you need to release headerCell once it is set as the column's
> > header.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/guy.<email_removed>
>
> This email sent to guy.<email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Bruce Truax | Dec 11, 02:57 | |
| Jonathan Jackel | Dec 12, 00:51 | |
| Bruce Truax | Dec 12, 14:36 | |
| Jonathan Jackel | Dec 12, 18:17 | |
| Bruce Truax | Dec 12, 19:03 | |
| Jonathan Jackel | Dec 12, 19:55 | |
| Bruce Truax | Dec 12, 20:12 | |
| Guy English | Dec 13, 19:41 |






Cocoa mail archive

