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.
Up arrow icon