Create per-row Action buttons and links
Create per-row Action buttons and links
Technologies > User Interface Add-Ins > Parts for Reports > Per-row Action Buttons
Technologies > User Interface Add-Ins > Assemblies with Multiple Panes > Drill-down Edit View with Two Panels
The
command
elements can be defined
within a field element which has been set up as a link. The field will still
display its value. When the user clicks on the link, the command (or
commands) defined within the
field
element will be executed.
<field name="bl_id" controlType="link">
<command type="showPanel" panelId="exRmFindManage2Panels_rmReport"/>
</field>
The
command
elements can also be
defined within a field element with
controlType
button
without specifying a field table or name. The command button is then displayed as a per-row button. If the user clicks on the button
the command (or commands) defined within the
field
element will be executed.
<field controlType="button">
<title translatable="true">Details</title>
<command type="openDialog" viewName="ab-ex-form-panel-custom-actions.axvw"/>
</field>
In both cases, commands defined within a field automatically apply the selected record's primary keys to their targets.
Note: If there is only one possible action for the grid drill-down, you can make the whole row act as a single clickable link. See Grid Row Events
See Also
Example 1: http://localhost:8080/archibus/schema/ab-products/solutions/parts/grid/ab-ex-report-grid-row-buttons.axvw