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.
Unfortunately, activation email could not send to your email. Please try again.

Check box to select row?

Thread ID:

Created:

Updated:

Platform:

Replies:

110648 Aug 19,2013 07:30 AM Sep 4,2013 09:08 AM WPF 1
loading
Tags: GridControl
Gareth Day
Asked On August 19, 2013 07:30 AM

Is there away to add another column which is of type checkbox and if the checkbox is checked then the row is selected and if its unchecked then the row is unselected?


Saravanan M [Syncfusion]
Replied On September 4, 2013 09:08 AM

Hi Gareth,

We have analyzed your query you can add the column which is the type of checkbox 

by setting Celltype as CheckBox. You can refer the below code snippet.

Codesnippet[XAML]:

 <syncfusion:GridDataVisibleColumn HeaderText="State" DataType="Boolean" MappingName="IsSelected" >

                 

 <syncfusion:GridDataVisibleColumn.ColumnStyle>

 <syncfusion:GridDataColumnStyle CellType="CheckBox" HorizontalAlignment="Center"               IsThreeState="False"/>

 </syncfusion:GridDataVisibleColumn.ColumnStyle>

 </syncfusion:GridDataVisibleColumn>              

 

 

We have prepared a sample based on this ,Please find the attached sample below,

Please let us know if you have any query,

Regards,

Saravanan.M



GridDataControlSample_Checkbox_F110648_53e04bc0.zip

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.

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.

;