eLabSDK2.Inventory.Sample.SampleList

Hierarchy

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

NameTypeDescription
callbackFunction:Function callback function to be executed
idstring: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

NameTypeDescription
callbackFunction:Function callback function to be executed
idstring: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

NameTypeDescription
actionActionan action object.

Returns

void


reloadSamples

Static reloadSamples(): void

Reloads the currently listed samples.

Returns

void


© 2023 eLabNext