Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1425
How to get items that are grouped together
posted

Hi,

I have added a button in the GroupByRecordPresenter (which is the header of a group.).

I want to actually know how to get all the collection of items that are grouped together.

I am sorry to mention here that the help has been very slow for me. I was posted couple of other questions for which  I haven't got any response. Will be grateful for timely response.

Thanks,

Imad.

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello Imad,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default Style for the GroupByRecordPresenter and add a Button in its Template. After that I handled the Button’s Click event and you can see the code I used for retrieving the ChildCollection of the current GroupByRecord. I copied the default Style from here: C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\WPF\DefaultStyles\DataPresenter\DataPresenterGeneric_Express.xaml file. Please let me know if this helps you or you need further clarifications on this matter.

     

    Looking forward for your reply.

    XamDataGridGroupByButton.zip
Children