Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I prevent a DataGrid from allowing new rows to be added, and so suppress display of the append row (i.e., the row at the end with an asterisk)?

0
Posted

How do I prevent a DataGrid from allowing new rows to be added, and so suppress display of the append row (i.e., the row at the end with an asterisk)?

0

The DataGrid class does not have a property that controls whether a new row can be added. But the DataView class does have such an AllowNew property (among others such as AllowEdit and AllowDelete). Here is code that will turn off the append row by getting…

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123