NSTableView issues
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