Use configuration layering to extend the default table configuration. Refer to the Customization Best Practices section before modifying configuration files.
The TableConfiguration
class is located in ATG Service Agent classes. The columns are defined in a list. The properties for TableConfiguration
are:
Property | Description |
---|---|
| List containing all columns in display order. |
| The Nucleus path to the form hander that renders the results. |
| The file name of the image to render when the table item detail is not visible or is closed. |
| The file name of the image to render when the table item detail is visible or is open. |
| The URL path to the images. |
| The page fragment containing the table implementation. |
| The Nucleus path to the grid configuration component. |
| The number of items to fetch per server request, usually extracted from the results form handler. |
| The default sort column. This field should point to the configured values in the particular column configuration to be sorted. The |
| The default sort direction, either |
The following is an example of the /DCS-CSR-UI/atg/commerce/custsvc/order/
file that uses the
OrderSearchUIConfiguration.propertiesTableConfiguration
class:
$class=atg.svc.agent.ui.tables.TableConfiguration $scope=global columns=\ /atg/commerce/custsvc/ui/tables/order/search/Toggle,\ /atg/commerce/custsvc/ui/tables/order/search/ViewLink,\ /atg/commerce/custsvc/ui/tables/order/search/LastName,\ /atg/commerce/custsvc/ui/tables/order/search/FirstName,\ /atg/commerce/custsvc/ui/tables/order/search/Total,\ /atg/commerce/custsvc/ui/tables/order/search/ItemsReturned,\ /atg/commerce/custsvc/ui/tables/order/search/DateSubmitted,\ /atg/commerce/custsvc/ui/tables/order/search/Originator,\ /atg/commerce/custsvc/ui/tables/order/search/State,\ /atg/commerce/custsvc/ui/tables/order/search/WorkOn imageClosed=icon_find.gif imageOpen=icon_find.gif imagePath=/images/icons/ rowsPerPage=10 defaultSortField^=/atg/commerce/custsvc/ui/tables/order/search/ViewLink.sortField defaultSortDirection^=/atg/commerce/custsvc/ui/tables/order/search /ViewLink.defaultSort tablePath=/atg/commerce/custsvc/ui/tables/order/search/OrderSearchResultsTable tablePage=/atg/commerce/custsvc/ui/tables/order/search/OrderSearchTablePage