Sets up an event listner for marking changed in the analysis.
Namespace: spotfire.webPlayerAssembly: ~/GetJavaScriptApi.ashx?Version=5.0
Syntax
| JavaScript |
|---|
function onChanged(markingName, dataTableName, dataColumnNames, maxRows, callback); |
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.
Version Information
Supported in: 6.0, 5.5, 5.0, 4.0, 3.2