There are two ways to create a grid:
From an XML string with DefineGridUsingXML.
By setting the HFMwDataGrid properties that define a grid. You must specify the following information to define a grid:
The maximum columns and rows for a grid page. Set the maximum page size with maxColsPerPage and maxRowsPerPage.
The Financial Management dimensions for the rows and columns. Set these dimensions with columnDimensions and rowDimensions.
The dimension members for the rows and columns. A row or column dimension’s members are specified with the following properties:
useList specifies whether a member list is used to define the members of a row or column dimension.
If useList is set to TRUE, specify the member list with memberListID.
If useList is set to FALSE, specify the dimension members with the topMemberID, selectedMemberIDs, and selectedParentIDs properties.
The dimension members for the grid’s page dimensions. A page dimension’s members are specified with the memberID and parentID properties.
The example for maxColsPerPage defines a grid with HFMwDataGrid’s properties. |