util
util
AMD Module
require(["pentaho/visual/scene/util"], function(util) { /* code goes here */ });
The util
namespace contains functions for common tasks around dealing with visual scenes.
Source: javascript/web/pentaho/visual/scene/util.js, line 23
Methods
Name | Description |
---|---|
createFilterFromVars(varsMap, model) : pentaho.data.filter.Abstract | Creates a data filter that represents the values of the specified visual role variables. |
invertVars(varsMap, model, keyArgs) : Object.<<code>string , pentaho.data.ICell > | Creates a data cells map corresponding to the values of the specified visual role variables. |
Methods Details
createFilterFromVars(varsMap, model) : pentaho.data.filter.Abstract | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a data filter that represents the values of the specified visual role variables. The types If the given variables map entails no distinguishing fields (in the sense of being effective keys, as defined in Source: javascript/web/pentaho/visual/scene/util.js, line 55
|
invertVars(varsMap, model, keyArgs) : Object.<<code>string , pentaho.data.ICell > | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a data cells map corresponding to the values of the specified visual role variables. By default, only data cells for fields which are effective keys are considered, as defined in Source: javascript/web/pentaho/visual/scene/util.js, line 85
See also: pentaho.data.util.isColumnKeyEffective |