Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
xaksis committed Apr 3, 2018
1 parent 6cb9d34 commit 54c153f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Set of options related to table sorting
:columns="columns"
:rows="rows"
:sort-options="{
enabled: true,
enabled: true,
initialSortBy: {field: 'name', type: 'asc'}
}">
</vue-good-table>
Expand All @@ -216,7 +216,7 @@ Enable/disable sorting on table as a whole.
:columns="columns"
:rows="rows"
:sort-options="{
enabled: true,
enabled: true,
}">
</vue-good-table>
```
Expand All @@ -228,7 +228,7 @@ Allows specifying a default sort for the table on wakeup
:columns="columns"
:rows="rows"
:sort-options="{
enabled: true,
enabled: true,
initialSortBy: {field: 'name', type: 'asc'}
}">
</vue-good-table>
Expand Down Expand Up @@ -271,7 +271,7 @@ Enable Pagination for table. By default the paginator is created at the bottom o
:columns="columns"
:rows="rows"
:paginationOptions="{
enabled: true
enabled: true
}">
</vue-good-table>
```
Expand All @@ -283,7 +283,7 @@ Add pagination on top of the table (default position is bottom)
:columns="columns"
:rows="rows"
:paginationOptions="{
enabled: true,
enabled: true,
position: 'top'
}">
</vue-good-table>
Expand All @@ -296,7 +296,7 @@ Number of rows to show per page
:columns="columns"
:rows="rows"
:paginationOptions="{
enabled: true,
enabled: true,
perPage: 5
}">
</vue-good-table>
Expand All @@ -309,7 +309,7 @@ Customize the dropdown options for the amount of items per page
:columns="columns"
:rows="rows"
:paginationOptions="{
enabled: true,
enabled: true,
perPageDropdown: [3, 7, 9]
}">
</vue-good-table>
Expand All @@ -322,7 +322,7 @@ enables/disables 'All' in the per page dropdown.
:columns="columns"
:rows="rows"
:paginationOptions="{
enabled: true,
enabled: true,
perPageDropdown: [3, 7, 9],
dropdownAllowAll: false,
}">
Expand All @@ -336,7 +336,7 @@ you can change one or more of the texts shown on pagination by overriding the la
:columns="columns"
:rows="rows"
:paginationOptions="{
enabled: true,
enabled: true,
nextLabel: 'next',
prevLabel: 'prev',
rowsPerPageLabel: 'Rows per page',
Expand All @@ -354,7 +354,7 @@ Set of search related options. These options pertain to the global table search.
:columns="columns"
:rows="rows"
:searchOptions="{
enabled: true,
enabled: true,
trigger: 'enter',
searchFn: mySearchFn,
placeholder: 'Search this table',
Expand All @@ -375,7 +375,7 @@ Allows a single search input for the whole table
:columns="columns"
:rows="rows"
:searchOptions="{
enabled: true
enabled: true
}">
</vue-good-table>
```
Expand All @@ -388,7 +388,7 @@ Allows you to specify if you want search to trigger on 'enter' event of the inpu
:columns="columns"
:rows="rows"
:searchOptions="{
enabled: true,
enabled: true,
trigger: 'enter'
}">
</vue-good-table>
Expand All @@ -403,7 +403,7 @@ Allows you to specify your own search function for the global search
:columns="columns"
:rows="rows"
:searchOptions="{
enabled: true,
enabled: true,
searchFn: myFunc
}">
</vue-good-table>
Expand All @@ -424,7 +424,7 @@ Text for global search input place holder
:columns="columns"
:rows="rows"
:searchOptions="{
enabled: true,
enabled: true,
placeholder: 'Search this table',
}">
</vue-good-table>
Expand All @@ -440,7 +440,7 @@ If you want to use your own input for searching the table, you can use this prop
:columns="columns"
:rows="rows"
:searchOptions="{
enabled: true,
enabled: true,
externalQuery: searchTerm
}">
</vue-good-table>
Expand Down

0 comments on commit 54c153f

Please sign in to comment.