RC
Rajadurai C
Syncfusion Team
November 21, 2008 01:03 PM UTC
Hi Raul,
Thanks for your interest in Syncfusion products.
To make certain rows Readonly, try handling QueryCellInfo event through the following code snippet.
this.gridDataBoundGrid1.Model.QueryCellInfo += new Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventHandler(Model_QueryCellInfo);
void Model_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)
{
if (e.RowIndex == 4 || e.RowIndex ==7||e.RowIndex ==10)
e.Style.ReadOnly = true;
}
This makes the rows 4,7,10 as readonly.
Regards,
Rajadurai