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 to custom collections

Thread ID:

Created:

Updated:

Platform:

Replies:

5145 Jun 20,2003 01:50 PM Jun 20,2003 02:05 PM Windows Forms 1
loading
Tags: GridControl
Tom Langer
Asked On June 20, 2003 01:50 PM

I've made my own custom collection (vb.net - using Inherits System.Collections.CollectionBase), I'd like to bind the collection to the grid, is that possible? The documentation seemed to make me believe so, but I couldn't find any sample code, other than based on datasets.

Administrator [Syncfusion]
Replied On June 20, 2003 02:05 PM

It should be no problem to assign your collection to GridDataBoundGrid.DataSource and the grid will then pick up the collection. One requirement is that in your derived collection class you need to have a strongly typed indexer/Item property. There are some samples under DataBound\Hierarhical that bind to a custom colletcion. Stefan

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.

;