Grid Control 2.0

Show Select Fields Dialog

Technologies / User Interface Add-Ins / Parts for Reports / Per-row Action Buttons

You can add the Select Fields dialog to customize how fields are displayed in the grid. Users can show, hide, or reorder columns:

report_select_fields_dia.png

If the panel definition in the AXVW file explicitly lists the fields, the dialog shows these field names. If the panel definition does not explicitly list the fields, the dialog shows the field names defined in the panel's data source.

To enable the Select Fields dialog, add an action to the view. The recommended location is the "gear" menu in the top panel:

<action id="toolsMenu" type="menu"
imageName="/schema/ab-core/graphics/icons/cog.png">
<title></title>
<action>
<title>Select fields</title>
<command type="selectFields" panelId="wrList"/>
</action>
</action>

When designing a grid or tree panel, define all fields that users might want to see. Make fields that are more likely to be used visible, and fields that are less likely to be used hidden:

<field name="project_id"> <field name="details" hidden="true"/>

Example view: http://localhost:8080\archibus\schema\ab-products\solutions\parts\grid\ab-ex-report-grid-row-buttons.axvw