Re: NSTableView with scrollbars does not update correctly
Re: NSTableView with scrollbars does not update correctly
- Subject: Re: NSTableView with scrollbars does not update correctly
- From: spike <email@hidden>
- Date: Mon, 10 Mar 2003 11:27:06 -0500
it's not "extra." you should use reloadData instead of setNeedsUpdate,
as it does the same thing.
...spike
On Monday, March 10, 2003, at 10:38 am, Daniel Aarno wrote:
Mondayen den 10 March 2003 kl 16.09 skrev spike:
I had this problem and I was calling setNeedsUpdate and it wasn't
working. I was told that for NSTableView, you should use reloadData.
Yes, this did the trick! I also tried the setNeedsUpdate thing as it
seemed intuitive, however I think this only copies the
backing-storage, and therefore I tried "resizing" the NSTableView to
the same size (i.e [theView setFrame : [theView frame]];). This didn't
work either.
Anyone got any insight to why this (extra) reloadData is needed? Since
the data displayed is correct, why doesn't the scrollbars work?
/Thanks Bishop
--
"No, don't move," he added as Arthur began to uncurl himself, "you'd
better be prepared for the jump into hyperspace. It's unpleasantly
like being drunk."
"What's so unpleasant about being drunk?"
"You ask a glass of water." - The Hitch Hiker's Guide To The Galaxy,
chapter 6
_______________________________________________
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.
_______________________________________________
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.