olifolkerd / tabulator

Interactive Tables and Data Grids for JavaScript
http://tabulator.info
MIT License
6.68k stars 816 forks source link

Using the Editor option on a column removes the resize handle after editing a cell #4544

Open Donnelly-Earley opened 3 months ago

Donnelly-Earley commented 3 months ago

Describe the bug When the "editor" field in the column definition is set and the "resizable" field is set to true, editing a cell will remove the resizable handle from the right of that cell.

Tabulator Info 6.2

Working Example https://jsfiddle.net/c3yL957o/

To Reproduce A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. Open the JS Fiddle above.
  2. Edit a cell in the "Name" column.
  3. After editing, hover your cursor over to the right side of the cell where a resize handle should be.
  4. No handle is there to resize the column from that cell's right border.

Expected behavior The resize handle should still show and be usable after editing a cell.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information): I am only testing in desktop browser.

Additional context I noticed in the inline style of the affected resize handle is gone after editing that cell, whereas the height is set beforehand when the table is rendered.

Donnelly-Earley commented 2 months ago

EDIT: I wanted to add that this can be fixed with a table redraw once the cell is edited like so: table.on('cellEdited', function(){ table.redraw(); });

However, it would still be nice to not have to do that.