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.
Unfortunately, activation email could not send to your email. Please try again.

Binding an arraylist

Thread ID:

Created:

Updated:

Platform:

Replies:

4096 Apr 28,2003 01:56 PM Apr 28,2003 06:00 PM Windows Forms 1
loading
Tags: GridControl
Derralle Gerard
Asked On April 28, 2003 01:56 PM

Is it possible to bind an arraylist to the grid control? I have a class created that store data from a resultset and is use as an data storage for changes a user makes in the grid.

Administrator [Syncfusion]
Replied On April 28, 2003 06:00 PM

For a GridDataBoundGrid, you can just set grid.DataSource to be your arraylist. For a GridControl, you can bind it virtually by handling the QueryCellInfo event. To save the changes you make, you would handle SaveCellInfo. See the VirtGridTutorial in the user manual as well as the QuickStart samples on virtual grids.

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.

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.

;