Unable to edit dataTable cell
See original GitHub issueI’m using Bokeh 0.12.15 (latest) and after I modify a DataTable cell, I can’t save the update. The only thing I can do is focus to the cell and press escape, otherwise the whole DataTable looses focus and is not selectable nor editable.
Is this a regression?
Minimal example:
df = pd.DataFrame([[0, 1,2],[1,4,5], [0,5,6]])
df.columns = ['x', 'one', 'two']
cds = ColumnDataSource(df)
columns = [
TableColumn(field="one", title="ONE", editor=IntEditor()),
TableColumn(field="two", title="TWO")
]
dt = DataTable(source=cds, columns=columns,
sortable=True, editable=True, fit_columns=True, selectable=True)
show(dt)
It’s the same behavior whether using a notebook or not.
Also, it seems the IntEditor has no effect whatsoever.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Datatable not allowing me to edit cells, have setting `editable ...
I can double click on any cell in the second column (spend) but I cannot 'enter' it, pressing enter does nothing. enter image...
Read more >Inline Cell edit not working — DataTables forums
Hello All,. I have been trying to use Datatable Editor without an AJAX datasource, but I am facing issues and it seems like...
Read more >DataTable Editing - Documentation - Webix
DataTable is an editable component, i.e. users can edit it manually. Generally, to make the table editable you should set the editable parameter...
Read more >Unable to Get Lightning Datatable Columns in Inline Edit Event
I am new to building a Lightning Web Component and I have what feels like a basic validation using the row's data for...
Read more >Editable DataTable | Dash for Python Documentation | Plotly
Modifying the Data Table Content · Clear the first column: the content is cleared (or multiple columns when headers are merged) without deleting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed for 0.13
@ongietorri Respectfully that is not true, the original code in the ticket did not have imports (images of code cannot be copied and pasted and are generally worthless). There are many tens (hundreds?) of thousands of users, and only two core devs. Adding a few imports or missing code may not seem like alot, but when you multiply it across the entire user base it becomes a large burden for just a few people. In the interests of fairness and sustainability, we must insist on complete (text) code samples.
Now, with complete code I can confirm a bug. I am currently traveling for a family medical situation, but will look at it when I am able.
@mattpap any ideas what’s going on her? I thought we fixed this. It’s not even activating the editor at all now. We absolutely have to find some way to maintain this under test.