Element Details: Dimension+Grid
 Back


Available in: Logi Info Source code name: DimensionGridIntroduced in: v10.0.31

The DimensionGrid is used to build an interactive data table allowing a user to set dimensions on the left and top axes, drill down into multilevel dimensions, and choose measures to display in the table and charts.

With all these possibilities, it may be important for the user to be able to save these settings between sessions. You can create a Process Task with a Procedure.SaveDimensionGrid. Load a saved DimensionGrid with the rdDgLoadSaved parameter:
rdDgLoadSaved=filename
(filename is the name of a saved DimensionGrid file.)

Users' settings are automatically maintained during the session. Clear the settings by calling the report with the rdDgReset parameter:
rdDgReset=True

The DimensionGrid works with Logi XOLAP Cubes. A DimensionGrid must contain a XolapCube element defining the dimensions and measures available in the data. It may also contain a XolapQuery data layer to define a starting arrangement of dimensions, drilldown settings, and measures.

It is important that the value of the ID attribute for the DimensionGrid element be unique throughout the entire application. This is because Logi Info saves the last state of the DimensionGrid in a user’s session information based on the value of the ID for the DimensionGrid element. Consequently, if two different report definitions each contain an DimensionGrid with the same ID value, the application will display the same grid for both reports.

DimensionGrid defines certain Cascading Style Sheet (CSS) classes. These help with colors, font sizes and spacing. You can over-ride these classes by adding them to your own CSS file. The grid's built-in CSS file is rdTemplate\rdOlapGrid\rdDgStyle.css.

Element Group:Dimensions and Cubes



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
Caption
UserDefined
The Caption attribute identifies the text to be displayed. For Image elements, Caption specifies the image filename.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
LevelIndent
UserDefined
LevelIndent sets the amount of indentation, in pixels, used to show levels of a hierarchy.
SavedDimensionGridFolder
UserDefined
Users' DimensionGrid options may be saved with the Procedure.SaveDimensionGrid element. The options are reloaded by passing the saved filename in the rdDgLoadSaved parameter. This SavedDimensionGridFolder attribute sets the folder that contains the saved files.
SecurityRightID
UserDefined
When entered, access to this element can be controlled with Logi security. Supply the ID of a right defined in the applications settings’ Security element. Only users that have a right in the SecurityRightID will be able to see the element. Note that when rights come from RightFromRole elements under Security/UserRights, and this element's SecurityRightID does NOT match any of the Right IDs defined in the Settings definition, then the user DOES have access. But when Right IDs are instead derived from RightsFromDataLayer or RightsFromRoles elements, and the user DOES NOT have a matching Right, then the user DOES NOT have access. You can enter multiple right IDs, separated by commas. In this case, the user sees the element if he has any one of the Rights.
TemplateModifierFile
UserDefined
Some elements employ a definition file as a template. The definition contains language and culture specific Caption attributes that you may want to change. Or you may simply want to change the captions to better suit your application. The TemplateModifierFile is an XML file with elements pointing to other elements in the template to be changed. All other attributes get applied in the template. For example, the Dashboard2 element has a template file (rdTemplate\rdDashboard\rdDashboard2Template.lgx) several Label elements. One has an ID="lblAddPanelsTitle". The Caption can be changed with the following XML in the TemplateModifierFile: You can set attributes for any number of elements. Examine the template file to learn the ID and Caption attributes you may want to modify. The above example shows how to identify template elements with an ID attribute. Alternatively, you can also identify elements with an XPath expression. In this example, we change an attribute of the InteractivePaging element: For a more detailed list of modifier actions see the following DevNet article. TemplateModifierFiles can be in any folder accessable to the web application. When a directory location is not specified, the default location is the _SupportFiles folder.
Width
UserDefined
The width of the element.
WidthScale
px
%
The width scale of the element. Value can be "px" for pixels, or "%" for percentage of the available width.



PARENT ELEMENTS

Click element to drill down for more information.

Body
Column Cell
Division Fieldset Box HTML Tag


CHILD ELEMENTS

Click element to drill down for more information.

Custom Dashboard Panels
DataLayer.XOLAP Query
Dimension Grid Chart Panel
Dimension Grid Columns Panel
Dimension Grid Drillthrough
Dimension Grid Export Panel
Dimension Grid Filter Panel
Dimension Grid Heatmap Panel
Dimension Grid Measures Panel
Dimension Grid Rows Panel
Dimension Grid Table Panel
Dimension Grid View Panel
Generated Element Plugin Call
Wait Panel
XOLAP Cube


 Back to top