Grid.ExpandColumnsToFit

Grid.ExpandColumnsToFit (

string ObjectName,

boolean ExpandFixed = true,

boolean Redraw = true )

Example 1

-- resizes all columns so that they fit in the viewing area
Grid.ExpandColumnsToFit("Grid1", true, true);

Resize all columns so that they fit into the grid object named "Grid1".

See also: Related Actions