Tuesday, March 15, 2016

QlikView extensions

Definition.xml

<ExtensionObject PageHeight="" PageWidth=""/>
  • PageWidth: maximum number of columns to retrieve.
  • PageHeight: maximum number of  rows to retrieve.
Data Object

  • PageSize.x:  current page column count (maximum is PageWidth).
  • PageSize.y: current page row count (maximum is PageHeight).
  • TotalSize.x: total number of columns on the data set.
  • TotalSize.y: total number of rows on the data set.
Selection
You can use the SearchColumn, SelectValuesInColumn or SelectTextsInColumn API methods.

this.Data.SelectTextsInColumn(0, true, value);

You can only make selections in the dimensions that are exposed to the extension.
The extension functions like any chart in QlikView meaning that it can only select in the underlying hypercube

References

No comments:

Post a Comment