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
605
Multi Select Records Data
posted

Hi,

                I am using XamDataGrid in which i want to get the whole Data present in the records which are selected.Is there any event which fires when we multi select the XamDataGrid  and how can we get the hold of Data of the selected records....please let me know whether we can handle this or not...Thanks

Parents
  • 69686
    posted

    The event that would fire is the SelectedChanging/SelectedItemChanged. In the Chaging event, you will have direct access to the new selection, but you can also check the SelectedItems.Records collection (if you want to get the selected records only).

    This collection contains objects of type Record. You can cast this to DataRecord and you will have access to the Cells - through the cells collection or directly to the underlying data object - through the DataItem property.

    Hope this helps

Reply Children