PXSourceList icon indicating copy to clipboard operation
PXSourceList copied to clipboard

How can I auto expand a group at first time?

Open buidinhnguyen opened this issue 10 years ago • 1 comments

Hi everyone,

My source list will be show a group as expand at first time. I set expanded value in:

  • (BOOL)sourceList:(PXSourceList *)aSourceList isGroupAlwaysExpanded:(id)group

But just Show/Hide button does not appear, children items don't show.

What should I do?

Best Regards, Nguyen

buidinhnguyen avatar Jun 13 '15 12:06 buidinhnguyen

Send your PXSourceList the message expandItem:, where the item you send it is the PXSourceListItem you want to auto-expand on page load. [self.sourceList expandItem:item];

Deadpikle avatar Aug 27 '15 17:08 Deadpikle