XSIFactory.CreateGridData

Introduced

v4.0

Description

Creates an instance of a GridData object. This instance is not associated with any Grid Control so its values cannot be viewed in the User Interface and it is not persisted in the scene. However, this can be a useful object for dealing with 2-dimensional arrays, especially in a language like JScript which only natively supports 1-dimensional arrays.

Once a GridData object has been filled with data, the data can be extracted as a 2-dimensional SAFEARRAY using the GridData.Data method. See Array for information about SAFEARRAYs.

C# Syntax

Object XSIFactory.CreateGridData();

Scripting Syntax

oReturn = XSIFactory.CreateGridData();

Return Value

GridData

See Also

CustomProperty.AddGridParameter