This can be implemented without using indexes. You can use the AddNew
method which returns the row instance. Here is an example of this:
sender, EventArgs e)
var gridRow = radGridView1.Rows.AddNew();
].Value = row.CreatedBy;
].Value = row.IsActive;
j = 0; j < radGridView1.ColumnCount; j++)
gridRow.Cells[j].Style.ForeColor = Color.LightGray;
I have attached a sample project as well.
Let me know how this works for you.
Get quickly onboard and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.