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
40
XamGrid - Using left corner cell to select all data.
posted

Hi,

I have a requirement to select all rows of data in a xamgrid, so how can i make use of the left corner header cell to select all rows.

Also an other way would be if I could have a checkbox there for selection of all rows, it would suffice my requirement.

Also i am using MVVM pattern for the project.

I have shown the cell in red color circle in the attached image, please help.

Thanks

Rakesh

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello Rakesh,

     

    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 of the ExpansionIndicatorHeaderCellControl and put a CheckBox inside its Template. I also set a Command to the CheckBox for selecting all the Rows in the XamGrid. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamGridSelectAll.zip
Children