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

ArrayList binding

Thread ID:

Created:

Updated:

Platform:

Replies:

30096 Jun 10,2005 02:53 PM UTC Jun 10,2005 03:26 PM UTC WinForms 1
loading
Tags: GridControl
John Passarelli
Asked On June 10, 2005 02:53 PM UTC

I have a DataboundDataGrid bound to an Arraylist. When items are added to the arraylist, the grid does not update. Yet when I query ((System.Collections.ArrayList)GridFileStatus.DataSource).Count, it is the correct value. How do I get the grid to "Refresh" with the data?

John Passarelli
Replied On June 10, 2005 03:26 PM UTC

I figured it out, I had to call Refresh() on my grid to refresh the data. Duh.... Also, when adding a new object to an empty arraylist, I had to call Binder.InitializeColumns()

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

;