The SHOWDETAILS function helps you show the details from the selected row of the TableGrid control. It displays the selected data from TableGrid in Detail View control. The value returned by the function is a JSON array with the dynamic keys provided in the function.
SHOWDETAILS(“newkey1”, tablegrid.columnname1,”newkey2”, tablegrid.columnname2)
- Newkey<1>: is the new label assigned to the respective key
- tablegrid.columnname<1>: is the specific column from the tablegrid control.
Here you can also change the order in which the keys appear. So the records will be displayed in the order in which you added the new keys.
SHOWDETAILS(“name”, tableGrid.name, “id”, tableGrid.id)
To further understand how to use the ShowDetails function you can refer to this article here