Hi all,
I have the grid that allows a user to add rows to it. I would like to do it via providing an empty last row. As the user starts typing into it, the next empty row appears.
Of course I realize, that the datasource should be modified when that new row is added.
Is there a common solution for this?
Thanks,
Vitaly
Hello Vitaly,
This exact behaviour is implemented in the ultraGrid. You simply need to set the AlloAddNew property e.g.:
ultraGrid1.DisplayLayout.Override.AllowAddNew =
AllowAddNew.TemplateOnBottom;
Hope this helps.
Sincerely,
Petar Monov
Developer Support Engineer,
Infragistics, Inc
Thanks for the response.
One more question on this. Is there a way to configure cells state of the 'AddNew' row? For example, in my 'AddNew' row I would like to have custom cells editors, my own default value of each cell, etc?
-Vitaly