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.
Syncfusion Feedback

Checkbox state in add row

Thread ID:

Created:

Updated:

Platform:

Replies:

97109 Oct 28,2010 09:28 AM Nov 27,2010 04:34 AM WPF 1
loading
Tags: GridControl
Brett Knapik
Asked On October 28, 2010 09:28 AM

I have a column with a cell type of CheckBox in a GridDataControl that is bound to an observable collection. In the add row it shows the checkbox in the undetermined state. Is there a way to have the checkbox default to false in the add row?

on a related note is there a way to template the add row controls separately from the the other cells?


Karthick Ravichandran [Syncfusion]
Replied On November 27, 2010 04:34 AM

Hi Brett,

Thanks for choosing Syncfusion Product ,

You can achieve your requirement by setting the CellValue of the particular cell as false in the loaded event. To manipulate the add new row cells you can use grid.mode[1, column_index] (By default add new row will appear as first row) to iterate through the cells.

Please let us know if you need more information.

Thanks,
Karthick



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

;