Adobe ColdFusion 8

ColdFusion.Grid.getGridObject

Description

Gets the underlying Ext (Ext JS JavaScript library) object for the specified HTML format grid.

Function syntax

ColdFusion.Grid.getGridObject(name)

See also

cfgrid, ColdFusion.Grid.refresh, ColdFusion.Grid.sort, Ext JS - JavaScript Library Documentation, "Using HTML format grids" in the ColdFusion Developer's Guide

History

ColdFusion 8: Added this function

Parameters

Parameter

Description

name

The value of the name attribute of the cfgrid tag for which you want the object.

Returns

If the grid is editable, an object of type Ext.grid.EditableGrid; otherwise, an object of type Ext.grid.Grid.

Usage

Use this function to get the Ext toolkit (Ext.grid) object that underlies the ColdFusion HTML format cfgrid control. You can then use the raw object to modify the displayed grid. For documentation on the objects and how to manage them, see the Ext documentation.