Home Forums WinForms controls Xceed Grid for WinForms Adding rows to a bounded grid Reply To: Adding rows to a bounded grid

User (Old forums)
Member
Post count: 23064

>DataRow newrow = grid.DataRows.AddNew().BeginEdit();

BeginEdit() returns void… But I modified my previous code:

DataRow newrow = grid.DataRows.AddNew();
newrow.BeginEdit();

for loop

newrow.EndEdit();

and it is still not working.

>Make sure you ‘i’ value stays lower case in your loop
‘i’ stays lowercase all the time in my code. The reason it is uppercase in my post is that I wrote my post using Word because I wanted it to check my spelling. So it’s not a meter of i variable.

Imported from legacy forums. Posted by styko (had 422 views)