Grid.AutoSize

Grid.AutoSize (

string ObjectName,

number ResizeMode = GVS_DEFAULT,

boolean Redraw = true )

Example 1

-- Resize the grid to fit the data
Grid.AutoSize("Grid1", GVS_DEFAULT, true);

Resize all rows and columns to fit into the grid object

See also: Related Actions