# Editing

## Edition triggers

### ROW\_EDITION\_DBLCLICK

This Injection Token disables the double-click functionality that takes a row to edition state.

```typescript
const ROW_EDITION_DBLCLICK: InjectionToken<boolean>;
```

### ROW\_EDITION\_ENTER\_KEY

This Injection Token disables the ENTER key functionality that saves a row changes.

```typescript
const ROW_EDITION_ENTER_KEY: InjectionToken<boolean>;
```

### ROW\_EDITION\_ESC\_KEY

This Injection Token disables the ESC key functionality that cancels a row edition.

```typescript
const ROW_EDITION_ESC_KEY: InjectionToken<boolean>;
```

## Validation messages

### CUSTOM\_EDITION\_ERROR\_MESSAGES

```typescript
const CUSTOM_EDITION_ERROR_MESSAGES: InjectionToken<CustomErrorMessage>;
```

## Multiple rows edition

### MAX\_ROWS\_IN\_EDITION

This Injection Token reconfigures the maximum number of rows that the DikeGrid instance can have in the edition state.

```typescript
const MAX_ROWS_IN_EDITION: InjectionToken<boolean>;
```

### WAIT\_FOR\_MULTIPLE\_ROWS\_DELETION

To avoid the DikeGrid showing the Processing Indicator during the deletion operation, provide this Injection Token with a <mark style="color:red;">`false`</mark> value.

```typescript
const WAIT_FOR_MULTIPLE_ROWS_DELETION: InjectionToken<boolean>;
```

### WAIT\_FOR\_MULTIPLE\_ROWS\_UPDATE

To avoid the DikeGrid showing the Processing Indicator during the update operation, provide this Injection Token with a <mark style="color:red;">`false`</mark> value.

```typescript
const WAIT_FOR_MULTIPLE_ROWS_UPDATE: InjectionToken<boolean>;
```

### WAIT\_FOR\_MULTIPLE\_ROWS\_CANCELATION

To avoid the DikeGrid showing the Processing Indicator during the cancelation operation, provide this Injection Token with a <mark style="color:red;">`false`</mark> value.

```typescript
const WAIT_FOR_MULTIPLE_ROWS_CANCELATION: InjectionToken<boolean>;
```

### WAIT\_FOR\_MULTIPLE\_ROWS\_RESTORATION

To avoid the DikeGrid showing the Processing Indicator during the restoration operation, provide this Injection Token with a <mark style="color:red;">`false`</mark> value.

```typescript
const WAIT_FOR_MULTIPLE_ROWS_RESTORATION: InjectionToken<boolean>;
```
