Dash-table

Latest version: v5.0.0

Safety actively analyzes 688944 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 15

4.0.0

Not secure
Changed
[446](https://github.com/plotly/dash-table/pull/446)
- Table API rework
NEW
- `column.sort_as_null`: Allows sorting behavior customization.
Accepts an array of string, number or booleans.

REMOVED
- `column.clearable`: Allows clearing the value of a dropdown cell.
Removed in favor of `dropdown_**` `clearable` nested property.
- `column.hidden`: Allows hiding column
Removed. Stay tuned by following https://github.com/plotly/dash-table/issues/314.
- `column.options`
Removed. Redundant with `dropdown`.
- `content_style`
Removed. Deemed unnecessary. NOTE - This was added back in 4.0.2 under the name the "fill_width" property name.
- `pagination_settings`
Replaced by two props `page_current` and `page_size`.

RENAMED
- `column_static_tooltip`
Renamed to `tooltip`.
- `column_conditional_tooltips`
Renamed to `tooltip_conditional`.
- `filter`
Renamed to `filter_query`.
- `sort_type`
Renamed to `sort_mode`.
- `derived_filter_structure`
Renamed to `derived_filter_query_structure`.

MODIFIED
- `column.deletable`: Allows column deletion.
Now accepts a boolean or an array of booleans (for multi-line headers).
For example, if there are multiple headers and you want the second header row to be deletable, this would be `[False, True]`.
- `column.editable_name`: Allows column renaming.
Renamed to `column.renamable`
Now accepts a boolean or an array of booleans (for multi-line headers).
For example, if there are multiple headers and you want the second row's header's name to be editable, this would be `[False, True]`.
- `column.id`
Now accepts `string` only -- `number` column ids can be casted to string.
- `n_fixed_columns`: Will fix columns to the left.
Renamed to `fixed_columns`
Now accepts an object { headers: boolean, data: number } instead of a number.
{ headers: true } determines the number of columns to fix automatically. For example, if the rows are selectable or deletable, { headers: true } would fix those columns automatically. If { headers: true, data: 2 }, it would fix the first two data columns in addition to the selectable and deletable if visible.
- `n_fixed_rows`: Will fix rows to the top.
Renamed to `fixed_rows`
Now accepts an object { headers: boolean, data: number } instead of a number.
{ headers: true } determines the number of rows to fix automatically (i.e. if there are multiple headers, it will fix all of them as well as the filter row).
{ headers: true, data: 2} would fix all of the header rows as well as the first 2 data rows.
- `pagination_mode`
Renamed to `page_action`.
`'fe'` is now `'native'`, `'be'` is now `'custom'`, and `false` is now '`none'`
- `column_static_dropdown`
Renamed to `dropdown`.
Now an object with each entry referring to a Column ID. Each nested prop expects.
`clearable` and `options`.
- `column_conditional_dropdowns`
Renamed to `dropdown_conditional`.
`condition` changed to the same `if` nested prop used by styles.
`dropdown` renamed to `options`.
- `dropdown_properties`
Renamed to `dropdown_data`.
Matches the `data` structure.
- `tooltips`
Renamed to `tooltip_data`.
Matches the `data` structure.
- `filtering`
Renamed to `filter_action`.
- `sorting`
Renamed to `sort_action`.
- `sorting_treat_empty_string_as_none`
Renamed to `sort_as_null`.
Now accepts an array of string, number or booleans that can be ignored during sort.
Table-level prop for the `column.sort_as_null` column nested prop.
- `style_data_conditional`
Renamed `filter` to `filter_query`.

Added
[320](https://github.com/plotly/dash-table/issues/320)
- Ability to conditionally format columns if editing is disabled.

[456](https://github.com/plotly/dash-table/issues/456)
- Support for dash-table is now available for R users of Dash.

Fixed
[434](https://github.com/plotly/dash-table/issues/434)
- Fix CSS borders properties overwrite style_* borders properties.

[435](https://github.com/plotly/dash-table/issues/435)
- selected_cells background color is set through styling pipeline / derivations.

3.7.0

Not secure
Added
[397](https://github.com/plotly/dash-table/pull/397), [#410](https://github.com/plotly/dash-table/pull/410)
- Improve filtering syntax and capabilities
- new field syntax `{myField}`
- short form by-column filter
- implicit column and default operator based on column type
- Text and Any columns default to `contains`
- Numeric columns default to `eq`
- Date columns default to `datestartswith`
- implicit column (e.g `ne "value"` becomes `{my-column} ne "value"`)
- new `contains` relational operator for strings
- new `datestartswith` relational operator for dates
- new `eq` behavior (will attempt to convert and compare numeric values if possible)
- new readonly `derived_filter_structure` prop exposing the query structure in a programmatically friendlier way

[412](https://github.com/plotly/dash-table/pull/412)
- Add support for row IDs, based on the `'id'` attribute of each row of `data`
- IDs will not be displayed unless there is a column with `id='id'`
- `active_cell`, `start_cell`, `end_cell`, and items in `selected_cells` contain row and column IDs: All are now dicts `{'row', 'column', 'row_id' and 'column_id'}` rather than arrays `[row, column]`.
- Added new props mirroring all existing row indices props:
- `selected_row_ids` mirrors `selected_rows`
- `derived_viewport_row_ids` mirrors `derived_viewport_indices`
- `derived_virtual_row_ids` mirrors `derived_virtual_indices`
- `derived_viewport_selected_row_ids` mirrors `derived_viewport_selected_rows`
- `derived_virtual_selected_row_ids` mirrors `derived_virtual_selected_rows`

[424](https://github.com/plotly/dash-table/pull/424)
- Customizable cell borders through `style_**` props
- cell borders now no longer use `box-shadow` and use `border` instead
- Supports CSS shorthands:
border, border_bottom, border_left, border_right, border_top
- style_** props will ignore the following CSS rules:
border_bottom_color, border_bottom_left_radius, border_bottom_right_radius, border_bottom_style, border_bottom_width, border_collapse, border_color, border_corner_shape, border_image_source, border_image_width, border_left_color, border_left_style, border_left_width, border_right_color, border_right_style, border_right_width, border_spacing, border_style, border_top_color, border_top_left_radius, border_top_right_radius, border_top_style, border_top_width, border_width
- Styles priority:
1. Props priority in decreasing order
style_data_conditional
style_data
style_filter_conditional
style_filter
style_header_conditional
style_header
style_cell_conditional
style_cell
2. Within each props, higher index rules win over lower index rules
3. Previously applied styles of equal priority win over later ones (applied top to bottom, left to right)

Changed
[397](https://github.com/plotly/dash-table/pull/397)
- Rename `filtering_settings` to `filter`

[417](https://github.com/plotly/dash-table/pull/417)
- Rename `sorting_settings` to `sort_by`

[412](https://github.com/plotly/dash-table/pull/412)
- `active_cell` and `selected_cells` items are dicts `{'row', 'column', 'row_id' and 'column_id'}` instead of arrays `[row, column]`

3.6.0

Not secure
Fixed
[189](https://github.com/plotly/dash-table/issues/189)
- Added `format` nested prop to columns
- Applied to columns with `type=numeric` (more to come)
- Uses [d3-format](https://github.com/d3/d3-format) under the hood
- `format.locale` for localization configuration
- `format.prefix` for SI prefix configuration
- `format.specifier` for formatting configuration
- `format.separate_4digits` to configure grouping behavior for numbers with 4 digits or less
- Python helpers (dash_table.FormatTemplate)
- Added `locale_format` prop to table (default localization configuration, merged with column.format.locale)

[387](https://github.com/plotly/dash-core/issues/387)
- Fix filtering conditions using floats

3.5.0

Not secure
Added
[342](https://github.com/plotly/dash-core/issues/342)
- Added `column_type` condition to style `if`; allows applying styles based on the type of the column for props
- `style_cell_conditional`
- `style_data_conditional`
- `style_filter_conditional`
- `style_header_conditional`

Fixed
[347](https://github.com/plotly/dash-core/issues/347)
- Fixed table behavior when `filtering_settings` is updated through a callback

[322](https://github.com/plotly/dash-core/issues/322)
- Added LICENSE file to Python distributable

[342](https://github.com/plotly/dash-core/issues/342)
- Added already supported `filter` nested prop / condition to `style_data_conditional` props definition

3.4.0

Not secure
Added
[364](https://github.com/plotly/dash-table/pull/364)
- Added the `datetime` data type

Changed
[224](https://github.com/plotly/dash-table/issues/224)
- Added support for unquoted column id with
- letters, numbers, [-+:.]
- Added support for single and double quoted column id with arbitrary name

Fixed
[365](https://github.com/plotly/dash-table/issues/365)
- Incorrect tooltip behavior if cell is in a fixed row or column

- Incorrect default value for `column_static_tooltip` changed from [] to {}

3.3.0

Not secure
Added
[307](https://github.com/plotly/dash-core/issues/307)
- Added tooltip_delay and tooltip_duration props to tweak table's tooltips display behavior
- Added tooltips, column_static_tooltip, column_conditional_tooltips to define the tooltip
applicable to a certain cell in the table with nested props delay and duration to override
table's default behavior

Page 5 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.