$p.selectedIds
Overview¶
This is an explanation of the method to get an array of IDs of the target records checked on the "Screen Index".
Syntax¶
JavaScript¶
Usage Examples¶
- In the Script tab of the Manage Table screen, set the output destination to "Index" and set the following.
JavaScript¶
$p.events.before_send_OpenExportSelectorDialogCommand = function (args) {
console.log($p.selectedIds());
}
- Check any record on the Screen Index.
- Press the Export button.
Result¶
An array of IDs of the target records checked on the Screen Index is obtained.
Supported Versions¶
- Pleasanter 1.2.14.0 or later
- Pleasanter .NET Framework version 0.50.277 or later