1 line
57 KiB
JSON
1 line
57 KiB
JSON
|
{"src/dash-table/dash/DataTable.js":{"description":"Dash DataTable is an interactive table component designed for\nviewing, editing, and exploring large datasets.\nDataTable is rendered with standard, semantic HTML <table/> markup,\nwhich makes it accessible, responsive, and easy to style. This\ncomponent was written from scratch in React.js specifically for the\nDash community. Its API was designed to be ergonomic and its behavior\nis completely customizable through its properties.","displayName":"DataTable","methods":[],"props":{"data":{"type":{"name":"arrayOf","value":{"name":"objectOf","value":{"name":"union","value":[{"name":"string"},{"name":"number"},{"name":"bool"}]}}},"required":false,"description":"The contents of the table.\nThe keys of each item in data should match the column IDs.\nEach item can also have an 'id' key, whose value is its row ID. If there\nis a column with ID='id' this will display the row ID, otherwise it is\njust used to reference the row for selections, filtering, etc.\nExample:\n[\n {'column-1': 4.5, 'column-2': 'montreal', 'column-3': 'canada'},\n {'column-1': 8, 'column-2': 'boston', 'column-3': 'america'}\n]"},"columns":{"type":{"name":"arrayOf","value":{"name":"exact","value":{"id":{"name":"string","description":"The `id` of the column.\nThe column `id` is used to match cells in data with particular columns.\nThe `id` is not visible in the table.","required":true},"name":{"name":"union","value":[{"name":"string"},{"name":"arrayOf","value":{"name":"string"}}],"description":"The `name` of the column, as it appears in the column header.\nIf `name` is a list of strings, then the columns\nwill render with multiple headers rows.","required":true},"type":{"name":"enum","value":[{"value":"'any'","computed":false},{"value":"'numeric'","computed":false},{"value":"'text'","computed":false},{"value":"'datetime'","computed":false}],"description":"The data-type provides support for per column typing and allows for data\nvalidation and coercion.\n'numeric': represents both floats and ints.\n'text': represents a string.\n'datetime': a string representing a date or date-time, in the form:\n 'YYYY-MM-DD HH:MM:SS.ssssss' or some truncation thereof. Years must\n have 4 digits, unless you use `validation.allow_YY: true`. Also\n accepts 'T' or 't' between date and time, and allows timezone info\n at the end. To convert these strings to Python `datetime` objects,\n use `dateutil.parser.isoparse`. In R use `parse_iso_8601` from the\n `parsedate` library.\n WARNING: these parsers do not work with 2-digit years, if you use\n `validation.allow_YY: true` and do not coerce to 4-digit years.\n And parsers that do work with 2-digit years may make a different\n guess about the century than we make on the front end.\n'any': represents any type of data.\nDefaults to 'any' if undefined.","required":false},"presentation":{"name":"enum","value":[{"value":"'input'","computed":false},{"value":"'dropdown'","computed":false},{"value":"'markdown'","computed":false}],"description":"The `presentation` to use to display data. Markdown can be used on\ncolumns with type 'text'. See 'dropdown' for more info.\nDefaults to 'input' for ['datetime', 'numeric', 'text', 'any'].","required":false},"selectable":{"name":"union","value":[{"name":"enum","value":[{"value":"'first'","computed":false},{"value":"'last'","computed":false}]},{"name":"bool"},{"name":"arrayOf","value":{"name":"bool"}}],"description":"If true, the user can select the column by clicking on the checkbox or radio button\nin the column. If there are multiple header rows, true will display the input\non each row.\nIf `last`, the input will only appear on the last header row. If `first` it will only\nappear on the first header row. These are respectively shortcut equivalents to\n`[false, ..., false, true]` and `[true, false, ..., false]`.\nIf there are merged, multi-header columns then you can choose which column header\nrow to display the input in by supplying an array of booleans.\nFor example, `[true, false]` will display the `selectable` input on the
|