What is the expected behavior of the RadGrid.MasterTableView.Columns.Insert and RadGrid.MasterTableView.Columns.AddAt methods?
It seems to be replacing the column at the index position I specify, instead of inserting the column and shifting everything else in the collection across.
If i use the Add method, everything works as expected, but I don't want this dynmaically created column to appear as the last column
I am using the .NET 4 version of the Q1 2010 release
It seems to be replacing the column at the index position I specify, instead of inserting the column and shifting everything else in the collection across.
GridColumn employeeRateCol = RadGridSummary.MasterTableView.Columns.FindByUniqueName(
"EmployeeRate"
);
GridDropDownColumn rateType =
new
GridDropDownColumn();
int
index = RadGridSummary.MasterTableView.Columns.IndexOf(employeeRateCol);
RadGridSummary.MasterTableView.Columns.Insert(index, rateType);
If i use the Add method, everything works as expected, but I don't want this dynmaically created column to appear as the last column
I am using the .NET 4 version of the Q1 2010 release