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

Edit durind DataGrid Refersh

Hi, In DataBoundGrid,i am refreshing the data every after 5 second to get the newly written data. when i try to edit any of the cell, i get the following message "This row has been removed from the table and does not have any data.BeginEdit will allow creation of new data in this Row".

1 Reply

AD Administrator Syncfusion Team April 19, 2005 11:05 AM UTC

Does this mean you are swapping out the entire DataTable which is the grid''s datasource? If so, you might try setting grid.DataSource = null, then swap the DataTable, and then reset grid.DataSource = DataTable to see if this will avoid this problem. If it works, you can call grid.BeginUpdate before this code and grid.EndUpdate after this code to avoid any excessive painting during this process. If that does not help, can you post some code to show what you are doing?

Live Chat Icon For mobile
Up arrow icon