We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

bind to selected rows in GridDataControl

I'd like to bind to ... something via xaml in the GridDataControl that will indicate if that row is selected or not. We're moving from a .NET ListView to a GridDataControl. In the list view we're binding to the IsSelected property of the ListViewItem. Is there something similar we can reference, again via xaml, to bind our object's property to a row in the GridDataControl?

Regards,


Matt Yaeger

1 Reply

MN Muthulakshmi N Syncfusion Team June 29, 2010 12:36 PM UTC

Hi Matt Yaeger,

Using “SelectedItem” property you can bind the selected row from the GridDataControl. It is similar to the IsSelected property of the List Box.

I have created a simple sample to illustrate this feature.

Please find the sample from the below location.

Refer the link:
http://www.syncfusion.com/uploads/redirect.aspx?file=griddataselectedrow_33631d08.zip&team=development

Let me know if you have any questions.

Thanks,
Muthulakshmi

Loader.
Live Chat Icon For mobile
Up arrow icon