{/* Do not edit this file. It is automatically generated by API Documenter. */}


## RowIndicator

Configuration model for grid indicators

**Signature:**

```typescript
export interface RowIndicator
```

## Remarks

The indicator displays the row index or the position of the focused row.

When using [GridBase.setRowIndicator()](/refs/Class/GridBase#setrowindicator), you only need to enter the necessary information.

## Example


```js
gridView.setRowIndicator({zeroBase: true});
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [cellStyleCallback](/refs/Interface/RowIndicator#cellstylecallback) | [RowBarCellStyleCallback](/refs/realgrid#rowbarcellstylecallback) | Callbacks to style cells |
| [displayOrder](/refs/Interface/RowIndicator#displayorder) | number | Order of appearance among check bars, status bars, and indicators (index) |
| [displayValue](/refs/Interface/RowIndicator#displayvalue) | [IndicatorValue](/refs/realgrid#indicatorvalue) | What to display in indicator cells |
| [displayWidth](/refs/Interface/RowIndicator#displaywidth) | number | Actual displayed width |
| [draggableSelectedRows](/refs/Interface/RowIndicator#draggableselectedrows) | boolean | Whether to move rows in the indicator cell of the selected rows |
| [footText](/refs/Interface/RowIndicator#foottext) | string | Text to display in foot area |
| [headText](/refs/Interface/RowIndicator#headtext) | string | Text to display in head area |
| [indexOffset](/refs/Interface/RowIndicator#indexoffset) | number | Interval between the number to be displayed on the indicator and the item index (row order) |
| [mark](/refs/Interface/RowIndicator#mark) | [StateMark](/refs/realgrid#statemark) |  |
| [maxWidth](/refs/Interface/RowIndicator#maxwidth) | number | max width |
| [minWidth](/refs/Interface/RowIndicator#minwidth) | number | min width |
| [popupMenu](/refs/Interface/RowIndicator#popupmenu) | [PopupMenuItem](/refs/Interface/PopupMenuItem){/* */}\[\] \| string | pop-up menu |
| [rowOffset](/refs/Interface/RowIndicator#rowoffset) | number | Specifies the interval between the number to be displayed on the indicator and the data row unique number. |
| [selectable](/refs/Interface/RowIndicator#selectable) | boolean | Whether it is possible to specify a selection area when clicking or dragging with the mouse |
| [showFocus](/refs/Interface/RowIndicator#showfocus) | boolean | Whether or not to apply the style to the cell corresponding to the focused row |
| [showSelection](/refs/Interface/RowIndicator#showselection) | boolean | Whether to apply styles to related cells according to the data selection area |
| [showTooltip](/refs/Interface/RowIndicator#showtooltip) | boolean | Whether to show the tooltip |
| [sumText](/refs/Interface/RowIndicator#sumtext) | string | Text to display in summary area |
| [visible](/refs/Interface/RowIndicator#visible) | boolean | Visibility |
| [width](/refs/Interface/RowIndicator#width) | number | width |
| [zeroBase](/refs/Interface/RowIndicator#zerobase) | boolean | Whether the indicator number starts from 0 |

## Properties Desc

### cellStyleCallback

Callbacks to style cells

`Type` - [RowBarCellStyleCallback](/refs/realgrid#rowbarcellstylecallback)

<hr/>

### displayOrder

Order of appearance among check bars, status bars, and indicators (index)

`Type` - number

**Remarks:**

The smaller the number, the more left it is placed.

<hr/>

### displayValue

What to display in indicator cells

`Type` - [IndicatorValue](/refs/realgrid#indicatorvalue)

<hr/>

### displayWidth

Actual displayed width

`Type` - number

**Remarks:**

Width of rowIndicator when `width`{/* */} is 0

<hr/>

### draggableSelectedRows

Whether to move rows in indicator cell of selected rows

`Type` - boolean

<hr/>

### footText

Text to display in the foot area

`Type` - string

<hr/>

### headText

Text to display in head area

`Type` - string

<hr/>

### indexOffset

The gap between the number to be displayed on the indicator and the item index (row order)

`Type` - number

**Remarks:**

Indicator number = item index + indexOffset

<hr/>

### mark

Type of status displayed on the indicator

`Type` - [StateMark](/refs/realgrid#statemark)

<hr/>

### maxWidth

max width

`Type` - number

<hr/>

### minWidth

minimum width

`Type` - number

<hr/>

### popupMenu

pop-up menu

`Type` - [PopupMenuItem](/refs/Interface/PopupMenuItem){/* */}\[\] \| string

<hr/>

### rowOffset

Specifies the interval between the number to be displayed on the indicator and the data row unique number.

`Type` - number

**Remarks:**

Indicator number = data row number + rowOffset

<hr/>

### selectable

Whether it is possible to specify a selection area when clicking or dragging with the mouse

`Type` - boolean

**Remarks:**

[DisplayOptions.selectionMode](/refs/Interface/DisplayOptions#selectionmode) is not [SelectionMode.NONE](/refs/realgrid#selectionmode) and [DisplayOptions.selectionStyle](/refs/Interface/DisplayOptions#selectionstyle) is not [single selection style](/refs/realgrid#selectionstyle) must be used to specify the selection area.

<hr/>

### showFocus

Whether to apply the style to the cell corresponding to the focused row

`Type` - boolean

**Remarks:**

If `true`{/* */}, the cell corresponding to the focused row is displayed in the `'rg-rowindicator-focus'` style.

<hr/>

### showSelection

Whether to apply styles to related cells according to the data selection area

`Type` - boolean

**Remarks:**

If `true`{/* */}, related cells are displayed in `'rg-rowindicator-select'` style according to the data selection area.

<hr/>

### showTooltip

Whether to display a tooltip

`Type` - boolean

<hr/>

### sumText

Text to display in summary area

`Type` - string

<hr/>

### visible

Visibility

`Type` - boolean

<hr/>

### width

width

`Type` - number

**Remarks:**

If `0`{/* */}, the width changes depending on the displayed content.

<hr/>

### zeroBase

Whether indicator numbers start from 0

`Type` - boolean

<hr/>