All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Fixed existing filter strings not resetting when a Dash callback changes the dataset displayed in the dash-table.
- Fixed issue with
min_heightregarding theDataTableunder 10 rows. - Fixed issue with
filterbar under 2 rows. Before, if there was only one row of data and the user clicked on 'Filter' the data would disappear. To improve the UI, if there is only one row additional height is added to the table div element so the user can still see the data if the 'Filter' button is selected.
- A
resizableproperty on theDataTablecomponent. IfTrue, then the columns can be resized by clicking and dragging on the border on the edge of the column header. IfFalse, they cannot be resized. By default, columns are resizable.
- A
column_widthsproperty can be used to set the column widths of theDataTable. Simple example:
ROWS = [
{'a': 'AA', 'b': 1},
{'a': 'AB', 'b': 2},
]
dt.DataTable(
rows=ROWS,
columns=['a', 'b'],
column_widths=[200, 400]
)DataTablenow automatically resizes to fit data that has less than 10 rows.
filterable=True,sortable=True, androw_selectable=Trueall work well with each other<,<=,>,>=are supported as filter strings
Bad release!
- 🎉
DataTablerows can be selected withrow_selectable=Trueand by listening to theselected_rowsproperty.
- Fixed the CSS on
DataTable. It looks a lot better now.
- This release was broken
- A
columnsproperty to theDataTablethat specifes the order of the columns
- Callbacks to the
DataTablecomponent
- The
DataTableis nowsortableandfilterable
- A DataTable component which uses the adazzle React Data Grid
- Initial release