RA
Rajagopal
Syncfusion Team
September 12, 2007 02:12 AM UTC
Hi Ankur,
Thanks for your interest in Syncfusion Products.
You could disable a row by directly setting the Enabled property to false for the GridStyleInfo object of that row (or) you may handle the grid.QueryCellInfo event to disable the row. Below is the code snippet.
this.grid.Model.RowStyles[rowIndex].Enabled = false;
void gridControl1_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
// disables 3rd row
if (e.RowIndex == 3)
{
e.Style.Enabled = false;
}
}
Let me know if you have any other questions.
Regards,
Rajagopal