I have some columns with `CellStyleSelector` and `CellTemplateSelector` which associating with a property in row data, when the property changed in code behide, both StyleSelector and TemplateSelector are not refreshed.
now I have got the row which need to refresh from `ItemContainerGenerator`, but have no idea to do that.
RadGridView.Rebind() works but it might be a little heavy.
public
void
RefreshRowTheme(
object
rowData)
{
var container =
this
.grid.ItemContainerGenerator.ContainerFromItem(rowData);
if
(container !=
null
)
{
var row = container
as
GridViewRow;
if
(row !=
null
)
{
//how to re-apply StyleSelector and TemplateSelector on all cells
}
}
}
Thanks.