Skip to content

Commit

Permalink
chore: update coloumn reordering docs with preferences example
Browse files Browse the repository at this point in the history
  • Loading branch information
joelamb committed Jun 27, 2023
1 parent 849a7c4 commit 7d7d2ae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/plugins/column-reordering/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ None

The order of columns will be represented in the preferences.

```js
"ColumnReordering": {
"columns": {},
"table": {
"order": {
"A": 1,
"B": 2,
"C": 3,
"D": 4
}
}
}
```

### Accessibility

It's recommended to use `<button>`s for changing the order of columns.
Expand Down

0 comments on commit 7d7d2ae

Please sign in to comment.