NSOutlineView in a Drawer reloaded from Sheet NSButton
NSOutlineView in a Drawer reloaded from Sheet NSButton
- Subject: NSOutlineView in a Drawer reloaded from Sheet NSButton
- From: Craig Bakalian <email@hidden>
- Date: Tue, 19 Aug 2003 13:39:00 -0400
Hi,
I have a weird problem. I have a draw hooked up to a window with a
NSOutlineView on it. The window has a sheet that pops down and
requests the user to add info. When the user okays the sheet, the data
creates an item for the outlineView in the drawer. The outlineView
gets [outlineView reloadData], and....
I get the items added to the bottom of the outlineView, along with the
original items still at the top. When I resize the window the
outlineView corrects itself and reloads the items according the the
dataSource. What is up with this. I have tried sending [outlineView
setNeedsDisplay: YES], [[self window] update], and other hacks with no
result. Anybody?
Craig Bakalian
_______________________________________________
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.