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
1100
Selecting multiple rows across multiple tables at the same time
posted

Is there a way to make a XamDataGrid select multiple rows from different tables (both sibling tables and parent-child tables)? If yes, then in the case of parent-child tables, can a different selection color be used for the parent if for example only some of it's children are selected?

Thanks.

  • 69686
    Verified Answer
    posted

    Hello,

    That is not possible. The selected records are stored in the SelectedItems collection and they cannot be of different type. You can, however, create different styling from the selected records from different layouts, using DataTrigger (for the DataRecordPresenter) binding and checking if the record has parent or not.