Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

How can I auto expand a group at first time? #52

Open
buidinhnguyen opened this issue Jun 13, 2015 · 1 comment
Open

How can I auto expand a group at first time? #52

buidinhnguyen opened this issue Jun 13, 2015 · 1 comment

Comments

@buidinhnguyen
Copy link

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

@Deadpikle
Copy link

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];

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants