CExtGridWnd::OnGridQueryDataProvider

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Returns a reference to the CExtGridDataProvider object used by the grid control for holding the cell objects. By default, this method initializes the CExtGridDataProviderMemory object when called for the first time and always returns a reference to this memory cell holder. You can override this method to use cacheable data provider objects which load the visible cell objects from some data source on-the-fly during grid scrolling. The CExtGridDataProviderRecordset class may be used to implement the vertically cacheable recordset scroller for such data sources as ADO recordset objects.

virtualCExtGridDataProvider & OnGridQueryDataProvider();
constCExtGridDataProvider & OnGridQueryDataProvider() const;

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart