EaxMdService.setGridHdrPlacement

Syntax

setGridHdrPlacement(report: PP.Exp.EaxDocument, args: Object, callback: PP.Delegate, errCallback: PP.Delegate);

Parameters

report. Express report document.

args. Arguments.

callback. Callback function

errCallback. Callback function on error.

Description

The setGridHdrPlacement method determines dimension layout settings in table heading and sidehead.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and a table must be loaded in working area of the express report.

// Set arguments
args = {
  "hdrPlacementSettings": {
    "partDesc": {
      "part": "LeftHeader"
    },
    "placement": 0,
    "hierarchical": 1,
    "separated": 2,
    "duplicateParent": 2,
    "collapseChildren": 2,
    "childrenBeforeParents": 2,
    "stairsHierarchy": false,
    "autoIndent": 1,
    "indentValue": 3,
    "displaySortIcons": 0
  }
}
// Set location options
eaxMdService.setGridHdrPlacement(eaxAnalyzer, args);
// Rerender
expressBox.getDataView().refreshAll();

After executing the example table sidehead location options are set.

See also:

EaxMdService