Hi Raul,
Thank you for your interest in Syncfusion products.
To Solve this issue You need to handle QueryCellInfo event to set the CellType of the first column as checkbox and QueryColWidth to set the width of the first column. Please refer the code below for more details.
void Model_QueryColWidth(object sender, GridRowColSizeEventArgs e)
{
if (e.Index == 1)
{
e.Handled = true;
e.Size = 20;
}
}
void dgrd_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
if (e.ColIndex == 1)
{
Console.WriteLine(e.Style.CellType);
e.Style.CellType = "CheckBox";
e.Style.CellValue = true;
}
}
Here is the modified sample that implements this task.
http://websamples.syncfusion.com/samples/Grid.Windows/F72727/main.htmPlease let me know if this helps.
Best Regards,
Srirajan