Blog··4 min read·Olayiwola Akinnagbe

How to Resize Table Columns and Rows Online

Learn how to resize table columns rows with Tablesmit. Design, format, and export with full control. Tablesmit makes it simple. Tablesmit handles it all.

resizecolumnsrowstutorialtables

The drag-to-resize experience

Learn how to resize table columns rows with Tablesmit. Learn how to resize table columns and rows online with Tablesmit. Spreadsheet users expect to be able to drag column edges to resize them. It is one of those interactions that feels obvious once you have used it.

Tablesmit implements drag-to-resize for both columns and rows, with the same smooth, immediate feel as a desktop application.

How column resize works

Hover over the right edge of any column header. A resize handle appears — a thin vertical zone about 8px wide (12px on mobile for touch targets). Click and drag.

A ghost line follows your cursor as you drag, showing exactly where the column edge will land. The actual column width only updates when you release the mouse button — this prevents layout recalculation on every pixel of movement.

Constraints:

  • Minimum column width: 60px
  • Maximum column width: 600px
  • The cursor changes to col-resize during drag

How row resize works

Same concept, vertical direction. Hover over the bottom edge of any row. A handle appears. Drag up or down to resize.

Constraints:

  • Minimum row height: 32px
  • Maximum row height: 300px

Auto-fit on double-click

Double-click any resize handle and the column or row automatically adjusts to fit its content. Tablesmit measures the widest (or tallest) cell in that column (or row), adds padding, and sets the size in one step.

Auto-fit is also available from the right-click context menu: right-click a cell and choose "Auto-fit column width" or "Auto-fit row height".

Why this matters for writing

Analytical writing is iterative. You draft content, review it, and refine it. As you edit, cells grow and shrink. Being able to resize columns by dragging — without switching tools or counting characters — keeps you in your flow.

A column of short product codes should be narrow. A column of paragraph-length descriptions should be wide. Drag to make it so. Two seconds, no menus.

Touch and mobile

On mobile devices, the resize handles are wider (12px) to meet the 44×44px accessibility minimum for touch targets. The ghost line is still visible during drag. Auto-fit on double-tap works the same way.

Performance

Resize uses requestAnimationFrame to batch visual updates. The ghost line moves every frame, but the actual column width change happens once on mouseup. Resize your table columns in Tablesmit — zero layout thrashing, even with many columns.

Try Tablesmit for yourself — free, no signup required.

Open Tablesmit

Browse other posts