Comments (3)
Thanks @AnSohal - it was the double click I was missing, it works fine with a single click but I see the behavior you're referring to when I double-click. This is indeed a bug, we should be able to fix it.
from dash-table.
@AnSohal can you give an example of code showing this problem, and also state the version of dash you're using? If I try this on https://dash.plotly.com/datatable/editable it works, the new value is accepted when I click to a new cell.
from dash-table.
@alexcjohnson
I tried the suggested site(https://dash.plotly.com/datatable/editable) to see if this problem occurs.
The following steps caused this problem.
- "Double" click on the cell.
- Enter a value.
- Click on another cell.
1.mp4
This problem did not occur until dash-table==4.9.0.
2.mp4
3.mp4
The code used is the same.
# -*- coding: utf-8 -*-
import dash
import dash_table
import dash_html_components as html
app = dash.Dash(__name__)
app.layout = html.Div([
html.P(f'dash-table == {dash_table.__version__}'),
dash_table.DataTable(
id='table',
columns=(
[{'id': p, 'name': p} for p in ['Column']]
),
data=[
dict(Model=i, **{param: 0 for param in ['Column']})
for i in range(1, 3)
],
style_header={
"backgroundColor": "black",
"color": "white",
},
style_table={
'width':'10%',
},
editable=True
)
])
if __name__ == "__main__":
app.run_server(debug=True)
Libraries used.
dash-table==4.9.0
Brotli==1.0.9
click==8.1.3
dash==1.14.0
dash-core-components==1.10.2
dash-html-components==1.0.3
dash-renderer==1.6.0
dash-table==4.9.0
Flask==2.1.2
Flask-Compress==1.12
future==0.18.2
importlib-metadata==4.11.4
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.1
plotly==5.8.0
PyYAML==6.0
tenacity==8.0.1
Werkzeug==2.0.0
zipp==3.8.0
dash-table==4.10.0
Brotli==1.0.9
click==8.1.3
dash==1.15.0
dash-core-components==1.11.0
dash-html-components==1.1.0
dash-renderer==1.7.0
dash-table==4.10.0
Flask==2.1.2
Flask-Compress==1.12
future==0.18.2
importlib-metadata==4.11.4
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.1
plotly==5.8.0
PyYAML==6.0
tenacity==8.0.1
Werkzeug==2.0.0
zipp==3.8.0
from dash-table.
Related Issues (20)
- [BUG]: Values of overlayed non-fixed columns are visible in active_cell when using horizontal scrollbar and fixed_columns
- Filter datatable based on absolute value HOT 1
- option to remove case sensitivity icon HOT 1
- [BUG] Virtualized table breaks when clicking further down than initial view if filter query conditional data style is present HOT 4
- Case-insensitive filter causes "Cannot read property 'toString' of null" exception when the column contains null value HOT 1
- [BUG] Prop `data_previous` isn't correctly updated with copy+paste
- Python backend sorting and filtering while keeping row selections functionality HOT 2
- 0 or null value in filter result breaks DataTable with fixed_rows and fixed_columns
- after backend filtering the exported data contains only 10 records
- Feature Request: make checkbox (row_selectable) available only for specific (conditional) rows HOT 1
- Conditional column alignment not applied to headers
- Copy selected value in Dropdown inside Dash Editable Datatable?
- Can not read properties of undefined 'X'
- Paste does not work on columns with editable equals true
- Include option rowReorder HOT 2
- fixed_columns causes issues with header alignment and overflowx
- Drag behavior for text being dragged into datatable is incomplete/odd
- Dash & XLwings. Attempting to pre-load Excel before Dash callback to save load time. HOT 1
- Dropdown won't display
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash-table.