Skip to content

Commit

Permalink
doc update to indicate that both field and type values are required. f…
Browse files Browse the repository at this point in the history
…ixes #702
  • Loading branch information
xaksis committed May 9, 2020
1 parent d2484d9 commit d40b590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev/grouped-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
:group-options="{
enabled: true,
headerPosition: 'top',
collapsable: 2
collapsable: 2,
maintainExpanded: true,
}"
styleClass="vgt-table condensed bordered"
ref="groupedTable"
Expand Down
2 changes: 1 addition & 1 deletion vp-docs/guide/configuration/sort-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Enable/disable sorting on table as a whole.

type: `Object` or `Array`

Allows specifying a default sort for the table on wakeup
Allows specifying a default sort for the table on wakeup. Both **field** and **type** values are required.
```html
<vue-good-table
:columns="columns"
Expand Down

0 comments on commit d40b590

Please sign in to comment.