This question is locked. New answers and comments are not allowed.
Hi,
I am trying to use Telerik Silverlight gridview and have a specific requirement.
1) Number of columns are dynamic on my gridview, which I am adding dynamically
2) On the "RowLoaded' event I want to access cell template for every column's cell for the loading row and assign some data template and data context to that ( Or simply content), previously I was using MS DataGrid and doing it as below.
FrameworkElement element = myDataGrid.Columns[0].GetCellContent(e.Row);
FrameworkElement datagridCell = GetParent(element, typeof(DataGridCell)); //GetParent is resursive method to get parent
DataGridCell cell = (DataGridCell)result;
cell.Content = MyDataModel for that cell;
Same thing I am trying to achieve with GridView control from Telerik . Please advise me to the appropriate direction.
Thanks
I am trying to use Telerik Silverlight gridview and have a specific requirement.
1) Number of columns are dynamic on my gridview, which I am adding dynamically
2) On the "RowLoaded' event I want to access cell template for every column's cell for the loading row and assign some data template and data context to that ( Or simply content), previously I was using MS DataGrid and doing it as below.
FrameworkElement element = myDataGrid.Columns[0].GetCellContent(e.Row);
FrameworkElement datagridCell = GetParent(element, typeof(DataGridCell)); //GetParent is resursive method to get parent
DataGridCell cell = (DataGridCell)result;
cell.Content = MyDataModel for that cell;
Same thing I am trying to achieve with GridView control from Telerik . Please advise me to the appropriate direction.
Thanks