Skip to content

Commit

Permalink
Added specification for key_column feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvin27 committed Apr 27, 2020
1 parent 75d17ca commit c4580fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ var ReactDatatable = require('@ashvin27/react-datatable')
## Options
| Name | Type | default | Description
| ------------- | ------------- | ------------- | ------------- |
| key_column | string | id | Use to specify the key column name for each record
| button | Object[] | { excel: false, print: false, csv: false } | Use to enable/disable export buttons(Excel, CSV, Print). By default buttons are disabled.
| filename | String | "table" | Specify the export filename
| length_menu | Array[] | [10, 25, 50, 75, 100] | Specify the options in the page length `select` list.
Expand Down

0 comments on commit c4580fb

Please sign in to comment.