Previous Next JavaScript must be enabled to correctly display this content

## 9.18 Steps for adding extra column in task grid

This topic provides the systematic instructions to perform the basic operations on the selected records.

For adding extra column in task grid to do the following:

1. Clone the respective Free/My/Hold Task components.
2. Then the additional column can be added using the following example code snippet.

       self.additionalColumns = [{
                  dataIndex: 'customerName',
                  dataType: 'string',
                  displayType: 'text',
                  width: '60px',
                  sortable: true,
                  resizable: true,
                  accessTo: ['AVAILABLE', 'HOLD', 'ACQUIRED']
                  }];

   The above code needs to be added in js file of the cloned components.

   While calling fsgbu-ob-cmn-fd-work-list from the html of the cloned components please make a call like this (which also sends additional columns as a property).

   Example:

       <fsgbu-ob-cmn-fd-work-list id='completedTaskGridCCA' dashboard-id='STANDARD' dashboard-
       queue-name='ACQUIRED'
         process-code={{processCode}} dashboard-queue-type='L' worklist-columns='{{columnArray}}'
         additional-columns='{{additionalColumns}}' page-size=20 dependent-
       vm="{{dialogParameters}}"></fsgbu-ob-cmn-fd-work-list>

3. Making these changes would display the extra column in the task screens.

Parent topic: Extensibility Use Cases for OBX