Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Andrew Merenbach <email@hidden>
- Date: Sat, 27 May 2006 18:42:43 -0700
Hi, Dan.
An NSTable might suit your needs better, since it *is* possible to
customise just a single row--although maybe the glossy table header
views that are provided in an NSTableView would work for your header
purposes? They are easily manipulated through various methods.
As for a cell with multiple actions, you just need to make a custom
cell where different parts have different responses. I'm not sure as
to the *best* way to do this, but it probably involves tracking
rects. Anyone?
Hope that this helps!
Cheers,
Andrew
On May 24, 2006, at 1:46 PM, rakel wrote:
Hi all,
this question is my first try at this list. I need a GUI with a
table/matrix of some sort. There can be a variable number of
columns and a variable number of rows. Each column and each row
shall have a "header" text (an analogy would be the <table> tag in
html, with <th> and <td> "cells"). (Different rows could
potentially have different heights.)
Each "cell" should be able to have several "actions" (e.g. clicking
one part of the cell could bring up a graph over some interesting
aspect of the cell data, clicking another part could bring up
textual information about some equally interesting aspect of the
cell data).
Now to the question: How shall I achieve this in Cocoa? I'm
thinking NSMatrix, but can an NSMatrix have "header cells" and
"data cells"? Can NSCells have more than one "action"?
Thanks in advance!
/Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40ucla.edu
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden