NSoutlineView reloadItem problem
NSoutlineView reloadItem problem
- Subject: NSoutlineView reloadItem problem
- From: otusweb <email@hidden>
- Date: Fri, 07 Jun 2002 14:55:06 -0500
I have OutlineView for which data is loaded when i press a button. When
the button is pressed i call reloadData and everything works fine. The
problem comes when i try to refresh only one of the top item of the
outlineview.
what i do is
clear all the subitem of the item to be refreshed from my database
then reload the subitem in that database
then call reloadItem: reloadChildren on the dataview with the object for
which i just cleared the content
the problem:
the item that i refreshed is still there and the disclosure triangle
shows as if it was expanded, but none of its subitems are actually
displayed. If i collapsed that object i get a bunch of errors in the
console(see end of message), then if i expand it everything is displayed
properly and life goes on as if nothing had happened.
Any pointers appreciated.
olivier
TI Device Explorer[5799] ALERT!! Couldn't find row entry in
_rowEntryForChild:ofParent: index = 0, parent = 0x1a33a80, ent = 0,
_REChildCache = 0, _REChildCount = 0
TI Device Explorer[5799] ALERT!! Couldn't find row entry in
_rowEntryForChild:ofParent: index = 1, parent = 0x1a33a80, ent = 0,
_REChildCache = 0, _REChildCount = 0
TI Device Explorer[5799] ALERT!! Couldn't find row entry in
_rowEntryForChild:ofParent: index = 2, parent = 0x1a33a80, ent = 0,
_REChildCache = 0, _REChildCount = 0
TI Device Explorer[5799] ALERT!! Couldn't find row entry in
_rowEntryForChild:ofParent: index = 3, parent = 0x1a33a80, ent = 0,
_REChildCache = 0, _REChildCount = 0
TI Device Explorer[5799] ALERT!! Couldn't find row entry in
_rowEntryForChild:ofParent: index = 4, parent = 0x1a33a80, ent = 0,
_REChildCache = 0, _REChildCount = 0
TI Device Explorer[5799] ALERT!! Couldn't find row entry in
_rowEntryForChild:ofParent: index = 5, parent = 0x1a33a80, ent = 0,
_REChildCache = 0, _REChildCount = 0
TI Device Explorer[5799] ALERT!! Couldn't find row entry in
_rowEntryForChild:ofParent: index = 6, parent = 0x1a33a80, ent = 0,
_REChildCache = 0, _REChildCount = 0
TI Device Explorer[5799] ALERT!! Couldn't find row entry in
_rowEntryForChild:ofParent: index = 0, parent = 0x1a33a80, ent = 0,
_REChildCache = 0, _REChildCount = 0
TI Device Explorer[5799] *** Assertion failure in removeRowEntry(),
NSOutlineView.m:1836
TI Device Explorer[5799] Invalid parameter not satisfying: entry
_______________________________________________
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.