PXSourceList icon indicating copy to clipboard operation
PXSourceList copied to clipboard

isGroupAlwaysExpanded breaks until [reloadData] is called at least once

Open adamgit opened this issue 13 years ago • 0 comments

Everything works fine, no need for [reloadData] - no need for unnecessary references to the PXSourceList instance, if you create your list of Source Items during [init*].

EXCEPT ... if you return "TRUE" / "YES" from isGroupAlwaysExpanded, then the group shows up with "zero" items, and no expansion triangle.

Doing an extra [sourcelIst reloadData] during awakeFromNib worksaround the problem, but AFAICS it shouldn't be needed and this causes the data to get loaded twice, unnecessarily.

adamgit avatar Jun 06 '11 19:06 adamgit