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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

There is no row at position 0

Thread ID:

Created:

Updated:

Platform:

Replies:

16833 Jul 26,2004 09:05 AM UTC Jul 26,2004 09:34 AM UTC WinForms 2
loading
Tags: GridControl
Rabeek Ahamed
Asked On July 26, 2004 09:05 AM UTC

I am getting the follwoing problem "There is no row at position 0" This is happening after i have clear my dataset dataset1.tables[0].rows.clear; but the focus is still on the grid. when the focus is lost from the grid, this error is coming to me. I am not able to locate this problem where it raise. The row position also varying!!! Can you please help me on this? Please reply me ASAP. urgent

Administrator [Syncfusion]
Replied On July 26, 2004 09:19 AM UTC

Is there an open edit going on when you try to zap your DataTable? If so, you might try calling grid.CurrentCell.CancelEdit(); grid.Binder.EndEdit(); before you clear things. If that does not resolve the problem, you might try setting grid.BindingContext[grid.DataSource, grid.DataMember].Position = -1; before clearing your table. You could also try calling grid.CurrentCell.MoveTo(-1, -1);

Administrator [Syncfusion]
Replied On July 26, 2004 09:34 AM UTC

Thank you very much for your fast and efficient response. This reply helped me lot. Thanks.

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.

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

;