Constructor
new module:ct-watchlist /sljs /Watchlist Grid Data Provider()
Methods
add Row(subject, indexopt)
Add a row to this watchlist grid.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
subject |
String | The RTTP subject name of the instrument to add. |
|
index |
number |
<optional> |
The index to insert the new objects at. If not included, objects will be appended to the end of the watchlist. |
add Rows(subjects, indexopt)
Add a number of rows to this watchlist grid.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
subjects |
Array | The RTTP subject names of the instruments to add. |
|
index |
number |
<optional> |
The index to insert the new objects at. If not included, objects will be appended to the end of the watchlist. |
can Receive()
can Receive Multiple Objects()
can Receive Objects()
configure Data Provider(xml Configuration Node, is Data Provider Defined ByParent)
Extract the watchlist ID from the provided xml node. Create a new xml configuration node with the subject obtained from the watchlist service and pass that on to the underlying data provider's configureDataProvider() method
Parameters:
Name | Type | Description |
---|---|---|
xmlConfigurationNode |
Element | Access to the XML node that contains any configuration information the data provider needs to configure itself. |
isDataProviderDefinedByParent |
boolean | Informs the data provider whether its configuration came via
inheritance, or was configured locally — this will affect how the data provider should behave when its
|
- See:
get Last Receive Failure Message()
get Success Message()
on Open(width, height)
Called when the view is opened.
Parameters:
Name | Type | Description |
---|---|---|
width |
int | the width of the grid. |
height |
int | the height of the grid. |
receive Objects()
remove Row(subject)
Remove a row from this watchlist grid.
Parameters:
Name | Type | Description |
---|---|---|
subject |
String | The RTTP subject name of the instrument to remove. |
remove Rows(subjects)
Remove a number of rows from this watchlist grid.
Parameters:
Name | Type | Description |
---|---|---|
subjects |
Array | An array of RTTP subject names of the instruments to remove. |