---
id: fast-foundation.columndefinition.cellfocustargetcallback
title: ColumnDefinition.cellFocusTargetCallback property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [ColumnDefinition](./fast-foundation.columndefinition.md) &gt; [cellFocusTargetCallback](./fast-foundation.columndefinition.cellfocustargetcallback.md)

## ColumnDefinition.cellFocusTargetCallback property

Callback function that returns the element to focus in a custom cell. When cellInternalFocusQueue is false this function is called when the cell is first focused to immediately move focus to a cell element, for example a cell that is a checkbox could move focus directly to the checkbox. When cellInternalFocusQueue is true this function is called when the user hits Enter or F2

<b>Signature:</b>

```typescript
cellFocusTargetCallback?: (cell: DataGridCell) => HTMLElement;
```