Dear all,
my grid has an AddNewRow-Button (TemplateOnBottom) to let the user add rows. Whenever the user adds one a second is created directly afterwards. The first new row can be modified by the user, the second is modified on the fly controlled by the AfterCellUpdate-Event. The user cannot edit anything in the second new row. My problem is, that after the first user-added row (and the row created by the program) the AddNewRow-Button dissapears. But I like to give the possibility to add further rows. What I have to do to realize that?
Thanks in advance
Alex
Hello Alex,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
Hi Boris,
thanks for your answer. Adding new rows should not be done by klicking at the AddNewBox-Button, but only by klicking in the grey row marked with a star (RowSelectors). This star was the AddNewRow-Button I was talking about. Sorry for confusion. In your sample everything works quite fine. Two new lines are added and an additional grey line appears (again with a star). Clicking the new grey line adds again two new rows and a new grey line appears. Everything as desired.
But in my real project clicking the grey line adds two new rows, but no new grey line appears. Any ideas what the reason can be?
Best regards