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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

bind to selected rows in GridDataControl

Thread ID:

Created:

Updated:

Platform:

Replies:

95140 Jun 22,2010 03:01 PM UTC Jun 29,2010 12:36 PM UTC WPF 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 22, 2010 03:01 PM UTC

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

Muthulakshmi N [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;