• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView with scrollbars does not update correctly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView with scrollbars does not update correctly


  • Subject: Re: NSTableView with scrollbars does not update correctly
  • From: Daniel Aarno <email@hidden>
  • Date: Mon, 10 Mar 2003 16:38:53 +0100

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.
  • Prev by Date: Re: Int Val of Hex From NSData
  • Next by Date: RE: Distributed Objects and IP Addresses
  • Previous by thread: Re: NSTableView with scrollbars does not update correctly
  • Next by thread: Re: NSTableView with scrollbars does not update correctly
  • Index(es):
    • Date
    • Thread