Re: Clearing NSTableView on unbind
Re: Clearing NSTableView on unbind
- Subject: Re: Clearing NSTableView on unbind
- From: Michael Carter <email@hidden>
- Date: Mon, 22 Aug 2005 09:51:26 -0700
What I've done is set up my inspector pallete with an "invisible" tab
view. One tab has all the data points I want to display, and the
other is empty save a static text item saying that there is nothing
to inspect. Then I bind which tab to display to the presence of
inspect-able data.
#mikec
On Aug 22, 2005, at 8:42 AM, Edwin Vane wrote:
Hi all,
I'm trying to find a nice solution to a simple little problem. I
have a
window that serves as a kind of inspector of a selected object. The
inspector has a table view inside to list some of the properties of
the
selected object. When the selected object changes, I re-bind the array
controllers feeding data to the table to the new selected object.
However, when there
is no/multiple selection, I would like the table to be empty.
Unfortunately, just doing an unbind doesn't seem to work.
Any suggestions?
--
Edwin Vane
MMath Candidate
Computer Graphics Lab
School of Computer Science
University of Waterloo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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