(no subject)
(no subject)
- Subject: (no subject)
- From: Ron Lue-Sang <email@hidden>
- Date: Mon, 22 Aug 2005 11:15:30 -0700
Message: 15
Date: Mon, 22 Aug 2005 11:42:03 -0400
From: Edwin Vane <email@hidden>
Subject: Clearing NSTableView on unbind
To: Cocoa-Dev <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=us-ascii
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.
Do you really need to re-bind the controller? What are you binding
to? There is a way to configure controllers in series so that this
should just work, no unbinding/rebinding necessary.
Are you calling [tableView reloadData] after unbinding?
Any suggestions?
--
Edwin Vane
MMath Candidate
Computer Graphics Lab
School of Computer Science
University of Waterloo
-----------------------------
Ronzilla
Core Bindings/Cocoa Data
_______________________________________________
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