User Manual

08.14.2024

MANUAL

Developer Function: Script: $p.getGridCell

## Overview This explains the method to get the elements of the td tag on the "[List Screen](/en/manual/table-grid)". ## Syntax ##### JavaScript ``` $p.getGridCell(Record ID,' Display name on list record') ``` ## Usage Example After setting the following sample code to the Pleasanter script and setting the output destination to "Edit", if a record with record ID: 123 exists when the list screen is loaded, the title of that record will be displayed at the bottom of the screen. ##### JavaScript ``` $p.events.on_grid_load = function () { $p.clearMessage(); $p.setMessage('#Message', JSON.stringify({ Css: 'alert-success', Text: $p.getGridCell(123, 'Title/Content')[0].textContent })); } ```
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.