When I move a column header into the GroupBy box, the new Grouped Band does not have a TemplateAddRow. I have tried to enable it with
Private Sub _Target_InitializeGroupByRow(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeGroupByRowEventArgs) Handles _Target.InitializeGroupByRow With e.Row.Band.Override If .AllowAddNew = AllowAddNew.Default Then .AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.TemplateOnBottom End If End WithEnd Sub
But the row does not appear. It does show in the non-Grouped bands. Is there any way to get this row while Grouped?
ThanksDavid Gauerke
I've the same question. I would like to use the groupby feature for visualisation of the data, but when I use this, the TemplateAddnewRow disappaers. I need to have this addnew row because users must be able to add new rows.
thx
Wim
I also have the same question.
I have a grid that I group in code by adding a column to the SortedColumns collection. After that I can't add a new row. What is best practise to accomplish this?
The grid does not currently support this. You should Request a Feature or Component from Infragistics.
Mike,
I have made a feature request using the link that you provided. In the meanwhile I guess that the only thing to do about this is to add a new row to the datasource instead.
Also, I would like to thank you for taking the time to provide support here at the forum. These posts have really helped me out in using your excellent product.
Thanks!
John