Although the data binding mechanism of the RadGridView
may not fully support arbitrary business objects, I think your case is possible to be implemented by this control. In fact, your scenario looks very similar to one that has been already been discussed in this forum post
and where the EditorRequired
event is used as solution.
Please try this approach and tell us if this works for you.
Currently, we do not support adding rows for any group level, this feature is only applied in hierarchy mode. You may use the DefaultValueNeeded
event to initialize a new row with the preferred group field value:
|void gridView_DefaultValuesNeeded(object sender, GridViewRowEventArgs e)
| e.Row.Cells["GroupField"].Value = Preferred your grouping value....
I hope this helps. If you have any further questions, please contact me.
the Telerik team