The TableConfiguration class is located in ATG Service Agent classes. The columns are defined in a list. The properties for TableConfiguration are:

Property

Description

columns

List containing all columns in display order

formHandlerPath

The Nucleus path to the form hander that renders the results

imageClosed

The file name of the image to render when the grid item detail is not visible or is closed

imageOpen

The file name of the image to render when the grid item detail is visible or is open

imagePath

The URL path to the images

tablePage

The page fragment containing the grid implementation

tablePath

The Nucleus path to the grid configuration component

rowsPerPage

The number of items to fetch per server request, usually extracted from the results form handler

defaultSortField

The default sort column. This field should point to the configured values in the particular column configuration to be sorted. The ViewLink.sortField must match what is defined in the profile-output-config.xml or the order-output-config.xml file.

defaultSortDirection

The default sort direction, either ascending or descending. This field should point to the configured values in the particular column configuration to be sorted.

The following is an example of the /atg/commerce/custsvc/order/
OrderSearchUIConfiguration.properties
file:

$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
 
loading table of contents...