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.
Unfortunately, activation email could not send to your email. Please try again.

New row gets added on grid

Thread ID:

Created:

Updated:

Platform:

Replies:

8294 Oct 30,2003 02:15 PM Oct 30,2003 03:33 PM Windows Forms 1
loading
Tags: GridControl
Steli Andrei
Asked On October 30, 2003 02:15 PM

Hi, I have a GridDataBoundGrid that has its datasource set to DataTable at runtime. When I bring the data on the grid trough the datatable, EnableAddNew = True but EnabledEdit = False. When I click on an Edit button, I set the EnableEdit = True. As soon as I start editing the grid I can see the row header changes into a 'writing pen'. The problem is that while I am in this 'Edit' mode, if I click on some other rows up and back down, sometimes I end up with an extra row. If I keep doing it I can end up with multiple empty rows. If I then try to save my stuff, passing the datatable back to a function to do that (I don't use the dataadaper, I loop through the datatable by myself, and manually get row by row) I get errors because no data in those EMPTY rows. Is there any way of prevening this from happening ?

Administrator [Syncfusion]
Replied On October 30, 2003 03:33 PM

I tried to see this problem in the attached sample, but could not. What are you doing differently? If you can prepare a little sample (or tell us how to see the problem in one of our samples) and submit through our Direct Trac system, we can probably resolve this problem fairly quickly. What version are you using? The later version of 1.6.1.x may handle this problem.

CONFIRMATION

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.

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.

;