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

Checkbox state in add row

Thread ID:





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

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 09:34 AM UTC

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.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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