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

NSTableView issues


  • Subject: NSTableView issues
  • From: Bob Sabiston <email@hidden>
  • Date: Wed, 5 Oct 2005 15:52:42 -0500

Hello,

I'm having a little trouble with an NSTableView. Mostly it's working, but it's not behaving quite right. For one thing, the scroll bar will not scroll all the way to the end of my table of data. I can't tell how many rows it is missing, but out of 2500 slot it doesn't display the last few.

Also, I am trying to select a certain row and make sure that is displayed. It works some of the time, but often it moves the table so that the selected row is a little ways below the visible area. That is, I have to scroll down to see the selected row. Here are the calls I'm making to select and position the table:

    NSIndexSet *i = [NSIndexSet indexSetWithIndex:t];
    [tableView selectRowIndexes:i byExtendingSelection:0];
    [tableView scrollRowToVisible:t];

What could the problem be?  Maybe something with my window sizing?

Thanks!
Bob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Problems with objects getting crossed
  • Next by Date: NSURLConnection connectionDidFailWithError: hides server response
  • Previous by thread: Custom PopUpButton problems
  • Next by thread: Re: NSTableView issues
  • Index(es):
    • Date
    • Thread