question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to edit dataTable cell

See original GitHub issue

I’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)

image

It’s the same behavior whether using a notebook or not.

Also, it seems the IntEditor has no effect whatsoever.

Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bryevdvcommented, Aug 14, 2018

Fixed for 0.13

1reaction
bryevdvcommented, May 15, 2018

the code provided in this ticket can be used as is.

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found