Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
9194 | Dec 10,2003 06:32 AM UTC | May 5,2004 01:06 PM UTC | WinForms | 5 |
![]() |
Tags: GridControl |
this.gridDataBoundGrid1.RefreshRange(GridRangeInfo.Cell(rowIndex, colIndex), true);
If you are adding/removing an item in your collection, then you would have to call grid.Refresh() to get things synced up.
this.gridDataBoundGrid1.Refresh();
public class USArrayList : ArrayList, ITypedList { public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) { return TypeDescriptor.GetProperties(typeof(USState)); } public string GetListName(PropertyDescriptor[] listAccessors) { return "USStatesList"; } } public class USState { private string myShortName ; private string myLongName ; private int _imageIndex; public USState() //default constructor { this.myShortName = "";//"defaultShortName"; this.myLongName = "";//"defaultLongName"; this._imageIndex = -1; } // other code..... }
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.
or the page will be automatically redirected to sign-in page in 10 seconds.