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 grid item detail is not visible or is closed |
| The file name of the image to render when the grid item detail is visible or is open |
| The URL path to the images |
| The page fragment containing the grid 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 /atg/commerce/custsvc/order/ file:
OrderSearchUIConfiguration.properties
$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/svc/agent/ui/tables/customer/ViewLink.sortField
defaultSortDirection^=/atg/svc/agent/ui/tables/customer/ViewLink.defaultSort
tablePath=/atg/commerce/custsvc/ui/tables/order/search/OrderSearchResultsTable
tablePage=/atg/commerce/custsvc/ui/tables/order/search/OrderSearchTablePage
