Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

skelta​.grid​.getDataSource()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use getDataSource() method in On Data Bound event of a Data Grid to get the name of the data source. Here the data source is the lookup consumed in the grid configuration.

Syntax

var dataSource = skelta.grid.getDataSource(e.sender);

Parameters

Parameter

Description

sender

sender from the event parameter (e) in On Data Bound script.

Return Value

This method returns a string value.

Example

// This prints the lookup name in the browser console.

var dataSource = skelta.grid.getDataSource(e.sender);

console.log(dataSource);

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in