Sets up an event listner for marking changed connected to a specific filtering scheme.
Namespace: spotfire.webPlayerAssembly: ~/GetJavaScriptApi.ashx?Version=5.0
Syntax
| JavaScript |
|---|
function onChanged(markingName, dataTableName, dataColumnNames, maxRows, callback, intersectionFilteringName); |
Parameters
- markingName
- Type: string
The marking name in which to listen for changes.
- dataTableName
- Type: string
The name of the data table in which to listen for marking changes.
- dataColumnNames
- Type: string[]
Array of data column names that should be included in the result.
- maxRows
- Type: int
The maximum number of marked rows to return.
- callback
- Type: spotfire.webPlayer.Marking.onMarkingCallback
The event handler with the following signature:
function(array) {}.
The array has the following format:
array["Column Name"][n], where n is the data row index.
- intersectionFilteringName
- Type: string
Only raise the event if marking changes ocurrs in the intersection between the displayed data from the filtering scheme and the displayed data from the marking parameters.
Version Information
Supported in: 6.0, 5.5, 5.0, 4.0, 3.2