alexrozanski / PXSourceList

Source List control for the Mac
Other
639 stars 77 forks source link

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

Open buidinhnguyen opened 9 years ago

buidinhnguyen commented 9 years ago

Hi everyone,

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

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

What should I do?

Best Regards, Nguyen

Deadpikle commented 9 years ago

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