Normally, I get an row add at bottom:
this.taskGrid.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.TemplateOnBottom;
I have the following - didn't do this for any other band but couldn't get a new row
e.Layout.Bands[0].Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.Yes;
The data schema as far as I know allows for row additions on all bands (aka there is an Insert Command under Band[0]s TableAdapter.
Not sure what I need to do to get this fundamental feature working.
Using the default template (no RowEditTemplates)
Figured it out - when u apply the presets, it disables Row Addition. So if u add row at bottom and then do the Apply Presets, it loses the add new row band.
It is now working, thanks.
Hello Dale,
Thank you for posting in our forum.
You are on the right way. By setting AllowAddNew property of the DisplayLayout’s Override to TemplateOnBottom you should be able to add new rows to each band of the grid via template row at the bottom of the band. However if you specifically set the same property to any of the grid’s band Override to Yes the template row for this specific band will not be shown. This will only allow the end users to add rows to the grid by means provided by the developer. So, if you need to allow end users to add rows via template row at the bottom of each band set AllowAddNew at the DisplayLayout level and do not specify it at any band level. Please check the attached sample for your reference how you can set this property. Check also the following link where you may find more information about AllowAddNew enumeration http://help.infragistics.com/Help/Doc/WinForms/2015.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v15.2~Infragistics.Win.UltraWinGrid.AllowAddNew.html.
Please let me know if you need any additional information.
Thank you for using Infragistics Controls.