• 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: What's up with NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's up with NSTableView?


  • Subject: Re: What's up with NSTableView?
  • From: Brian Webster <email@hidden>
  • Date: Tue, 22 Jan 2002 12:08:25 -0600

On Tuesday, January 22, 2002, at 06:21 AM, cocoa-dev-
email@hidden wrote:

So when my NSTableView first loads, the scrollbars are enabled
allowing me to scroll the content view horizontally and
vertically, enough though there are no cells in the table. Is
this a bug, or do I have to initialize the view somehow? I have
tried calling reloadData in awakeFromNib, that doesn't work. I
am returning 0 for numberOfRowsInTableView:

The horizontal scrollbars won't be controlled by the number of rows in the table, but rather the width of the table columns. You might try fooling with the size of your columns in IB, or call sizeLastColumnToFit in awakeFromNib.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster


  • Prev by Date: RE: app preferences top view
  • Next by Date: Re: Windows, NSTableView and newie question
  • Previous by thread: Add: What's up with NSTableView?
  • Next by thread: How to get color sync preferences?
  • Index(es):
    • Date
    • Thread