I'm wondering if it's possible to bind a TList object as a cxGrid datasource.
So what I have is a TList object containing various objects that i do not need to persist. I want a sort of GridView to serve as an overview of "selected items", and the selected items being the objects in the list.
It would be preferable that the columns were to be defined by the object type stored in the TList.
Is this easily doable, and if so would you be able to give me an overview of how this is done. I'm currently using a ListBox that uses tabWidth as a sort of column seperator but would prefer to make the switch.
The Quantum Grid has three different ways to access data. It can work unbound (you access directly the cells), bound (the standard way of using a datasource) or in "provider" mode, where you have to write the proper class (the provider) to access and modify data. In provider mode, the data source can be whatver you like. The help details how to implement a provider. THere should also be an UnboundListDemo among the demo applications.