I am creating a grid with 3 columns:
model = new GridModel();
model.DataSource = _db.getColumnSelectGridItems();
model.Columns.Add(new GridColumn("Column Name", "ColumnName", "string", "150")); model.Columns.Add(new GridColumn("Selected", "Selected", "bool", "100")); model.Columns.Add(new GridColumn("Filter", "Filter", "string", "150"));
I want to be able to edit both the 'Filter' and 'Selected' columns but not the 'Column Name' column. Here's what I'm trying:
var updating = new GridUpdating(); updating.EnableAddRow = false; updating.EnableDeleteRow = false; updating.ColumnSettings.Add(new ColumnUpdatingSetting() { ColumnKey= "ColumnName", ReadOnly = true }); model.Features.Add(updating);
Obviously its not working. What am I missing?
Hello danenatoli ,
Please let me know if you need further assistance after Viktor's answer.
The next service release is scheduled to be in the middle of September:
http://es.infragistics.com/support/service-releases.aspx#ServiceReleases
Thanks, I'll wait for the service release.