Skip to content

Commit

Permalink
readme has error in example
Browse files Browse the repository at this point in the history
list  inside list should be a c() as it is in the code in server.R
  • Loading branch information
micstr authored Jun 4, 2020
1 parent 8faa17e commit 1e000e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 018-datatable-options/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ above:
1. the option `pageLength = 25` changes the default number of rows to
display from 10 to 25;

1. the option `lengthMenu = list(c(5, 15, -1), list('5', '15', 'All'))` sets
1. the option `lengthMenu = list(c(5, 15, -1), c('5', '15', 'All'))` sets
the length menu items (in the top left corner); it can be either a numeric
vector (e.g. `c(5, 10, 30, 100)`), or a list of length 2 -- in the latter
case, the first element is the length options, and the second element
Expand Down

0 comments on commit 1e000e7

Please sign in to comment.