Re: Clearing cells in NSBrowser
Re: Clearing cells in NSBrowser
- Subject: Re: Clearing cells in NSBrowser
- From: j o a r <email@hidden>
- Date: Mon, 4 Nov 2002 14:14:52 +0100
What do you mean when you say "clear"? I assume that you want it to
update it's contents from the data source / delegate? Usually you would
do something like this:
[myBrowser loadColumnZero];
...or...
[myBrowser reloadColumn: n]; // Where "n" is the column to reload
You need to make sure that the data source / delegate has the new state
first of course - or else the contents of the browser will be (should
be!) the same after reloading.
j o a r
On Monday, Nov 4, 2002, at 13:08 Europe/Stockholm, Sanri Parov wrote:
I'm creating a DiskMaster-like utilty and I'm stuck into this problem:
clearing an NSBrowser.
I've tried changing the "state" with the method setState: but nothing.
I've tried also with something like..
for (i=0; i<numColumns; i++)
{
[browser selectRow:-1 inColumn:i]
}
but nothing the same...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.