Re: Matrix with header cells
Re: Matrix with header cells
- Subject: Re: Matrix with header cells
- From: rakel <email@hidden>
- Date: Wed, 24 May 2006 23:30:05 +0200
Thank you for the quick answer!
NSSegmentedCell certainly looks promising for the "data cells"! How
about the "header cells", especially the row headers, can I have
different NSCell subclasses on different cells?
/Dan
24 maj 2006 kl. 22.57 skrev I. Savant:
Have a look at NSSegmentedControl and NSSegmentedCell. You can
use an NSTableView or an NSMatrixView and set the data cell to a
NSSegmentedCell or your own subclass of NSSegmentedCell.
I strongly recommend getting a good mastery of NSControl,
NSActionCell, NSTableView/NSMatrix and Cocoa's target/action
mechanism before attempting this, however.
You should also pick up a good Cocoa book. Search the list
archives for book recommendations.
--
I.S.
On May 24, 2006, at 4:50 PM, rakel wrote:
Hi all,
now I'm trying with a mail subject...
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:
40gmail.com
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