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
close icon

Checkbox state in add row

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?


1 Reply

KR Karthick Ravichandran Syncfusion Team 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.

Thanks,
Karthick



Loader.
Live Chat Icon For mobile
Up arrow icon