# CustomCellSummaryOperation

Canonical page: https://www.adaptabletools.com/docs/reference/customcellsummaryoperation

Defines a Custom Cell Summary operation provided by a user

```ts title="TypeScript"
export interface CustomCellSummaryOperation<TData = any> 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [operationFunction](https://www.adaptabletools.com/docs/reference/customcellsummaryoperation.md#operationfunction) | `(operationContext: `[`CustomCellSummaryOperationContext`](https://www.adaptabletools.com/docs/reference/customcellsummaryoperationcontext.md)`<TData>) => any` | Function to run when a summary result is required |
| [operationName](https://www.adaptabletools.com/docs/reference/customcellsummaryoperation.md#operationname) | `string` | Name of the Operation - will be displayed in the Cell Summary components |

## Property Details

### operationFunction

Function to run when a summary result is required

```ts title="TypeScript"
operationFunction: (operationContext: CustomCellSummaryOperationContext<TData>) => any;
```

###### Property Value

`(operationContext: `[`CustomCellSummaryOperationContext`](https://www.adaptabletools.com/docs/reference/customcellsummaryoperationcontext.md)`<TData>) => any`

### operationName

Name of the Operation - will be displayed in the Cell Summary components

```ts title="TypeScript"
operationName: string;
```

###### Property Value

`string`
