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. Image for the cookie policy date

binding to custom collections

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.

1 Reply

AD Administrator Syncfusion Team June 20, 2003 06:05 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon