NSTableView is not updated.
NSTableView is not updated.
- Subject: NSTableView is not updated.
- From: 박지완 <email@hidden>
- Date: Thu, 12 Jul 2007 11:36:47 +0900
- Importance: normal
Hi all,
I have a NSTableView, and it has 'datafield.m' for dataSource and delegate.
(TableView's dataSource outlet is connected 'datafield.m' and TableView's delegate outlet is connected 'datafield.m')
In dataSource, using 'data.plist' by 'objectValueForTableColumn' and 'numberOfRownInTableView'.
Now,
when 'data.plist' is changed, NSTableView must be updated.
But... it isn't.
I think,
after 'data.plist' is changed,
NSTableView has to call 'numberOfRownInTableView' before 'objectValueForTableColumn'.
(Because, the number of callings 'objectValueForTableColumn' is decided by 'numberOfRownInTableView'.)
But my NSTableView calls 'numberOfRownInTableView' after 'numberOfRownInTableView' ...
Is it right?....
And,
What can I do for NSTableView updating?
How can I do for calling 'numberOfRownInTableView' first?...
Please help me.
Thank you.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden