Grid.ExpandToFit

Grid.ExpandToFit ( 

string  ObjectName,

boolean ExpandFixed = true,

boolean Redraw = true )

Example 1

-- resizes all rows and columns to fit into the grid viewing area
Grid.ExpandToFit("Grid1", true, true);

Resize everything so that there are no scrollbars.

See also:  Related Actions