Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
6571 | Aug 18,2003 06:18 PM UTC | Aug 18,2003 07:03 PM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
myDataTable.Rows.Clear();
to remove all rows from the underlying datatable that is the DataSource for the grid?
If so, before doing that, also try calling:
this.grid.CurrentCell.EndEdit();
this.grid.Binder.EndEdit();
You may have to condifitionally call these EndEdit by first checking grid.CurrentCell.IsEditing and grid.Binder.IsEditing.
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.
This page will automatically be redirected to the sign-in page in 10 seconds.