True DBGrid supports an array-based unbound mode, or storage mode, that does not rely upon the Visual Basic Data control or any other data provider that follows the Microsoft data binding specifications. Instead, storage mode uses a ComponentOne XArrayDB object as a data source. XArrayDB, which is included with True DBGrid Pro 8.0, is packaged as a separate file, XADB8.OCX. You must distribute this file along with your application if you use storage mode.
To use storage mode, set the DataMode property of the grid to 4 - Storage at design time. In code, redimension and populate an XArrayDB object with your data just as you would a Visual Basic array, then assign the XArrayDB object to the Array property of the grid. The data will then be maintained and exchanged between the grid and the XArrayDB object automatically. There are no unbound events to write, making this mode the easiest to use.
Storage mode was created to deliver ease of use without sacrificing the power and flexibility that you expect from True DBGrid. When using this mode, the index of the first dimension of the XArrayDB object serves as a bookmark to uniquely identify rows. This means that all of the grid's bookmark-related properties, methods, and events (Bookmark, FirstRow, GetBookmark, FetchCellStyle, and others) work the same in storage mode as in any other DataMode, either bound or unbound.