Description Usage Arguments See Also
View source: R/handsontable4r.R
Configure single column.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
hot |
rhandsontable object |
col |
vector of column names or indices |
type |
character specify the data type. Options include: numeric, date, checkbox, select, dropdown, autocomplete, password, and handsontable (not implemented yet) |
format |
characer specifying column format. See Cell Types at Handsontable.js for the formatting options for each data type. Numeric columns are formatted using Numbro.js. |
source |
a vector of choices for select, dropdown and autocomplete column types |
strict |
logical specifying whether values not in the |
readOnly |
logical making the column read-only |
validator |
character defining a Javascript function to be used
to validate user input. See |
allowInvalid |
logical specifying whether invalid data will be accepted. Invalid data cells will be color red. |
halign |
character defining the horizontal alignment. Possible values are htLeft, htCenter, htRight and htJustify |
valign |
character defining the vertical alignment. Possible values are htTop, htMiddle, htBottom |
renderer |
character defining a Javascript function to be used to format column cells. Can be used to implement conditional formatting. |
copyable |
logical defining whether data in a cell can be copied using Ctrl + C |
dateFormat |
character defining the date format. See Moment.js for details. |
default |
default column value for new rows (NA if not specified; shiny only) |
language |
locale passed to Numbro.js; default is 'en-US'. |
... |
passed to handsontable |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.