• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView


  • Subject: Re: NSTableView
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 26 May 2002 22:23:54 -0700

On Sunday, May 26, 2002, at 09:55 PM, Matthew Johnson wrote:

I have a two columns in my NSTable view and its about 8 rows visable. when I initialise all the data in it (about 100
records) the vertical scroll bar is inactive. If I resize the columns at runtime the vertical scroll bar becomes active
and remains so for the duration the program is running and works as expected. What am I doing wrong?

You probably haven't told the table view its contents have changed.

In the commonly-used methods section for NSTableView:
- reloadData
Informs the NSTableView that data has changed and needs to be
retrieved and displayed again.

Depending on your app configuration, you might need to call this in awakeFromNib...

mmalc
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableView
      • From: Timothy Larkin <email@hidden>
References: 
 >NSTableView (From: Matthew Johnson <email@hidden>)

  • Prev by Date: Re: NSTableView
  • Next by Date: Set up NSTableView programmatically?
  • Previous by thread: NSTableView
  • Next by thread: Re: NSTableView
  • Index(es):
    • Date
    • Thread