SetLayout method: AnalyticGrid class

Syntax

SetLayout(&SlicerArray, &RowAxisArray, &ColumnAxisArray)

Description

Use the SetLayout method to set the layout for the three axes, slice, row, and column.

Note:

Do not use this method with an analytic grid that is in Freeze Column Mode.

If you specify No Drag drop mode for an analytic grid in Application Designer, the analytic grid has the column axis, row axis and slicer axis, but the end user isn't allowed to change the layout by dragging and dropping elements between axes. However, you can still change the layout using the SetLayout method.

Note:

You can specify a null value ("") for all the required parameters for this method.

Parameters

Parameter Description

&SlicerArray

Specify an already instantiated array of string containing the list of fields to be put on the slice axis.

&RowAxisArray

Specify an already instantiated array of string containing the list of fields to be put on the row axis.

&ColumnAxisArray

Specify an already instantiated array of string containing the list of fields to be put on the column axis.

Note: The maximum number of columns that can be displayed in an analytic grid is four.

Returns

None.