Skip to content

InitializeDataSource - cCJGridDataSource

Sent by the grid's InitializeData method as part of a grid initialization process

Type: Procedure

Parameters

Parameter Type Description
DataSource tDataSourceRow[] A tDataSourceRow array containing the initial data for your grid

Syntax

Procedure InitializeDataSource tDataSourceRow[] DataSource

Call Example

Send InitializeDataSource DataSource

Description

A grid's data is loaded and initialized using the cCJGrid object's InitializeData method.

InitializeData performs some housekeeping initializations and then loads the data into the datasource by sending InitializeDataSource to the datasource object.

You will never send this message and will probably never augment it. If you create a custom datasource class, this interface must be supported.