True DBGrid supports a cell-based unbound mode, or application mode, that does not rely upon either the Visual Basic Data control or the ComponentOne XArrayDB object. Instead, application mode fires events whenever the grid needs to retrieve or update the value of an individual cell. Your application is in total control of the data; no intermediate objects are involved.
To use application mode, set the DataMode property of the grid to 3 - Application at design time. In code, write handlers for the ClassicRead and UnboundGetRelativeBookmark events. If users of your application need the ability to add, update, and delete records, you will have to write handlers for the ClassicAdd, ClassicWrite, and ClassicDelete events as well.
Application mode was modeled after the Fetch [TrueGrid Pro (VBX)] and Update [TrueGrid Pro (VBX)] events of Component One's TrueGrid Pro (VBX) product. However, unlike TrueGrid Pro, which identifies rows with absolute row numbers, True DBGrid identifies rows with bookmarks. This subtle change provides uniformity across data access modes, and ensures that all of the grid's bookmark-related properties, methods, and events (Bookmark, FirstRow, GetBookmark, FetchCellStyle, and others) work the same in application mode as in any other DataMode, either bound or unbound.