This documentation targets the API shipped with Pentaho 8.1. Click here for the updated version shipped with Pentaho 8.3.
What's new and changed in the Platform JavaScript APIs beta 3
Platform JavaScript APIs
Data API
-
Removed support for the old
isDiscrete
property of model attributes. -
Added the property
isKey
to model attributes that allows indicating that, together, the value of allisKey
attributes identify each row. See pentaho.data.ITable#isColumnKey ⭐. -
Added the method pentaho.data.ITable#getColumnProperty ⭐ that exposes the value of metadata properties of model attributes.
-
The method
getColumnIndexByAttribute
has been renamed to pentaho.data.ITable#getColumnIndexById. -
Added the method pentaho.data.ITable#getCell ⭐ that allows to simultaneously obtain the value and formatted value of a cell.
-
Added the pentaho/data/util ⭐ module with several useful data related methods.
Data / Filter API
- Added the property pentaho.data.filter.spec.IIsLike#isCaseInsensitive ⭐.
Type API
-
Simple types are now immutable. The formatted property is now read-only.
-
Types can now be declared as entities, meaning that their instances have a meaningful business identity; that the value of the pentaho.type.Value#$key property has business meaning. When setting the value of properties or configuring a value, special rules apply to entity types. See pentaho.type.Type#isEntity ⭐.
-
Complex types can now be declared immutable, by specifying pentaho.type.Complex.Type#isReadOnly ⭐. When setting the value of properties or configuring values, values of immutable types are handled specially.
-
Configuring a value with its current specification no longer causes changes to be perceived. See pentaho.type.Value#configure.
-
Types can now indicate their continuous or categorical nature through the pentaho.type.Type#isContinuous ⭐ property.
-
Reviewed the action classes, pentaho.type.action.
-
Reviewed the process of calling
will:change
listeners when changes occur. It is now ensured that listeners are called again if a value below in the bubbling chain is modified after they have ran. -
Added the ability to specify the resolution ranking of types.