Skip to content

grid.SelectedIds

Overview

The "Server Script" gets the ID of the record selected on the Screen Index.

Syntax

grid.SelectedIds()

Parameters

none

Return Value

Return the record ID of the corresponding record.

Usage Examples

The following example displays the ID of the selected record in the console.

Sample code
for (let id of grid.SelectedIds()) {
    context.Log(id);
}

Supported Versions

  1. Pleasanter 1.3.34.0 or later