If unboundcolumn is in a groupcolumn which needs to be changed dynamically giving this
e.Cell.Row.Cells["fieldxx"].Refresh();
gives null exception
if that unbound column is brought out of the groupcolumn it works perfectly, how to handle this?
Perfect Perfect. Thanks a lot
In this case you can use this approach to get to the cell and call Refresh():
var column = this.XGrid.Columns.AllColumns["fieldxx"] as Column; if (column != null) { e.Cell.Row.Cells[column].Refresh(); }
In the code above XGrid is my XamGrid instance.
Hope this helps
Attaching the sample code to reproduce this