Re: NSTableView
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.
References: | |
| >NSTableView (From: Matthew Johnson <email@hidden>) |