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
1890
Programmatically set selection on datagrid
posted

I have a scenerio in MVVM where I have a datagrid user control that will be used on several different pages and within the control if the everytime the datasource changes I want to set the Active record to the ActiveDataItem or the the first record if the ActiveDataItem is null. I'm having trouble trying to set the ActiveDataItem to the Active Record and setting it to ISselected. Below I have a demo.

DataGridControl.zip