Disable the ability to resize columns in Bokeh Datatable by dragging


Is there a way I can disable the ‘drag to resize’ functionality on Bokeh datatable columns?

Thank you.

I think (untested) you have to set the width to whatever width you want on each individual column, and set the autosize mode on the table itself to None.

Hi Bryan, thanks for the tip. I tried what you suggested, but I’m still able to drag to resize the columns.

Anything else that may work?

If that did not work then I do not think it is currently possible.

Ok, I’ve read some other posts which indicate it is not possible to make one column of a datatable editable. Is this still true? Basically, I have three separate tables which appear to be one. I could avoid this problem by using one table and making one of the columns editable.