eLabSDK2.Inventory.Sample.SampleList
Hierarchy
-
↳
SampleList
Methods
getSelectedSamples
Static
getSelectedSamples(): SampleListItem
[]
getSelectedSamples
Description
Retrieve selected samples
Returns
SampleListItem
[]
List of currently selected samples
getSelectedSamplesIDs
Static
getSelectedSamplesIDs(): number
[]
getSelectedSamplesIDs
Description
Retrieve selected sampleIDs
Returns
number
[]
List of currently selected sampleIDs
onAfterPageLoad
Static
onAfterPageLoad(callback
, id
): void
Triggers the callback after the dom has been rendered
Parameters
Name | Type | Description |
---|---|---|
callback | Function | :Function callback function to be executed |
id | string | :string unique identifier of callback |
Returns
void
Overrides
Sample.onAfterPageLoad
onBeforePageLoad
Static
onBeforePageLoad(callback
, id
): void
Triggers the callback prior to loading the data / DOM
Parameters
Name | Type | Description |
---|---|---|
callback | Function | :Function callback function to be executed |
id | string | :string unique identifier of callback |
Returns
void
Overrides
Sample.onBeforePageLoad
registerAction
Static
registerAction(action
): void
registerAction
Description
Register a custom action on one or multiple samples
Parameters
Name | Type | Description |
---|---|---|
action | Action | an action object. |
Returns
void
reloadSamples
Static
reloadSamples(): void
Reloads the currently listed samples.
Returns
void
© 2023 eLabNext
Updated 29 days ago