This method is used to show the previously hidden item. It works both on the server side and on the client side.
We recommend using showItem() in After record processed or Before display events.
Syntax
pageObject.showItem("itemId");
Example
For elements in the data grid on the List and Print pages, use the recordId parameter in the After record processed event:
pageObject.showItem("custom_button1", recordId);
Note: you can also use the JavaScript function toggleItem() in ClientBefore/ClientAfter events or in the Field events to hide/show the elements. See Insert custom button to learn more.
See also:
•JavaScript API: RunnerPage object > toggleItem()
•Example: How to hide the Edit link