I have a grid with the "Insert" row at the bottom. Now, I have been asked to populate the row with default data when a user adds a row to the grid. I have tried the RowEnter event, but at that time a row has not yet been added to the datasource. Any suggestions on how to add default data when using the "Insert" row?
ADAdministrator Syncfusion Team January 6, 2004 07:53 AM
Here is a link to a forum entry that discusses a couple of ways you can do this.
KJKenneth JohnsonJanuary 6, 2004 09:04 AM
I added the sample shown in the link, but when I select a cell in the "Insert" row, a new "Insert" row appears in the grid before a breakpoint placed in the "CurrentCellMoved" event is reached. What I'm seeing is that the current row is never equal to the number of rows in the grid.
KJKenneth JohnsonJanuary 6, 2004 09:34 AM
Never mind. The sample that you provided did work. Another event was blasting it. Thanks.