We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

New Data Record with GDBG

Thread ID:





9656 Jan 6,2004 12:00 PM UTC Jan 6,2004 02:34 PM UTC WinForms 3
Tags: GridControl
Kenneth Johnson
Asked On January 6, 2004 12:00 PM UTC

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?

Administrator [Syncfusion]
Replied On January 6, 2004 12:53 PM UTC

Here is a link to a forum entry that discusses a couple of ways you can do this. http://www.syncfusion.com/Support/forums/message.aspx?MessageID=4101

Kenneth Johnson
Replied On January 6, 2004 02:04 PM UTC

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.

Kenneth Johnson
Replied On January 6, 2004 02:34 PM UTC

Never mind. The sample that you provided did work. Another event was blasting it. Thanks.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon