AD
Administrator
Syncfusion Team
July 7, 2006 09:56 PM UTC
Hi Brain,
An arbitrary IBindingList DataSource does not fire any events to notify any changes. In such cases, you would have to explicitly call grid.Refresh and grid.ReIntialize method after the arraylist changes. Here is a code snippet.
this.groupingGrid1.BeginUpdate();
CustomerCollection cc = this.groupingGrid1.DataSource as CustomerCollection ;
cc.Add(new Customer("22222333"));
this.groupingGrid1.EndUpdate(true);
this.groupingGrid1.Reinitialize();
this.groupingGrid1.Refresh();
Regards,
Haneef.