This question is locked. New answers and comments are not allowed.
HI
I am using Silverlight RadGridView Control which is binded to a Collection. I am using edit mode of cell/row which allow me to edit the content. I have a Column named "XYZ" which i want to make visible only when GridView is in Edit mode. so that user can edit content of that column also, in normal mode i want to hide that column from user.
i am handling this as follows.
by default i kept the visibility of that Column False.
on Beginningedit method i wrote code like this., to make that column visible.
and on RowEditEnded I wrote following code
this works somewhat fine but have following issues
I am using Silverlight RadGridView Control which is binded to a Collection. I am using edit mode of cell/row which allow me to edit the content. I have a Column named "XYZ" which i want to make visible only when GridView is in Edit mode. so that user can edit content of that column also, in normal mode i want to hide that column from user.
i am handling this as follows.
by default i kept the visibility of that Column False.
on Beginningedit method i wrote code like this., to make that column visible.
private void RadGridView1_BeginningEdit(object sender, GridViewBeginningEditRoutedEventArgs e) { this.RadGridView1.Columns["XYZ"].IsVisible = true; }private void RadGridView1_RowEditEnded(object sender, GridViewRowEditEndedEventArgs e) { //some code here to save changes to backend this.RadGridView1.Columns["XYZ"].IsVisible = false; }this works somewhat fine but have following issues
when user enter into row edit mode the this XYZ column appears as blank, with no data in any cell except the Row which user is editing with NO column header, filter icon on it, it