# rowDragText

Builds drag feedback text from the row count and default label.

Canonical: https://grid.syidax.com/docs/options/rowDragText/

<a id="meaning"></a>

## What does this API do?

Builds drag feedback text from the row count and default label.

<a id="contract"></a>

## Exact input and result types

```typescript
rowDragText: (params: { count: number; label: string }) => string
```

| Item | Value |
| --- | --- |
| JavaScript name | rowDragText |
| HTML attribute | row-drag-text |
| Default | undefined |
| Input type | (params: { count: number; label: string }) => string |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Row dragging](https://grid.syidax.com/docs/features/row-drag.md) — Managed row dragging applies user-defined order to Grid data. Manual reordering can conflict with display order determined by sorting.
