User Manual

08.14.2024

MANUAL

Developer Function: Script: $p.getGridRow

## Overview This explains the method to get the column number of the record's display name data on the "[List Screen](/en/manual/table-grid)". ## Overview ``` $p.getGridRow(Record ID) ``` ## Usage Example If you set the following sample code to the Pleasanter script, the title of record ID: 123 will be displayed when the List screen is loaded (assuming the title item is placed third on the list screen). ``` $p.events.on_grid_load = function () { $p.clearMessage(); $p.setMessage('#Message', JSON.stringify({ Css: 'alert-success', Text: $p.getGridRow(123)[0].children[2].textContent })); } ```
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.