GithubHelp home page GithubHelp logo

Fit-to-size all columns about tabletool HOT 4 OPEN

jakob avatar jakob commented on August 26, 2024 3
Fit-to-size all columns

from tabletool.

Comments (4)

weshooper avatar weshooper commented on August 26, 2024 3

@fulldecent Thanks for getting back to me! Sure, here's a GIF of how Numbers does it:

  1. Opens with all columns (headings and data) sized to fit
  2. (To simulate how TableTool opens, I've manually resized each column to approx. the same width in the GIF)
  3. Multiple columns can be selected with cmd+click
  4. Selected columns can be resized to fit either via a right-click menu, or double-clicking between columns

kapture 2018-05-11 at 17 08 10

The aim here is to make it easier for the user to quickly see all data in a CSV via auto-sizing - two issues currently prevent this:

  • data in columns is hidden when the fixed/default column width is too narrow for the data within
  • data in files (having many columns) may be horizontally scrolled off the screen, because the fixed/default column width is too wide for the data within (so horizontal screen space is wasted)

I think there are three alternative implementations for the feature:

  1. Auto-resize all columns to fit when opening a file (my preference, it just works)
  2. An 'Auto-resize' button on the toolbar (avoids changing the current open-file behaviour, though adds UI clutter)
  3. The ability to select multiple columns, with double-click and/or right-click menu option to auto-resize (less discoverable for the user, and sounds like more work to implement!)

from tabletool.

fulldecent avatar fulldecent commented on August 26, 2024

Can you please confirm if Excel, LibreOffice, Numbers does it this way. Or do they do something different?

from tabletool.

weshooper avatar weshooper commented on August 26, 2024

@fulldecent I don't have access to Excel or LibreOffice, but here are a few screenshots - after doing that I think the experience in Numbers makes most sense...

Table Tool

Opens with all columns identically sized:

table-tool-as-opened

There's no way to resize all columns to fit at the same time. Double-clicking each individual heading resizes the column to the width of maximum data, but headings are obscured:

table-tool-double-clicked-headings-resized

Google Docs

Opens with all columns identically sized:

gdocs-as-opened

gdocs-select-columns

Selecting all columns and choosing to resize, does headings and data:

gdocs-resize-columns

gdocs-columns-resized

Numbers

Opens with all columns (headings and data) sized to fit:

numbers-as-opened

from tabletool.

fulldecent avatar fulldecent commented on August 26, 2024

Presently, Table Tool does not allow you to select individual columns. When using the click-drag gesture, a column is selected and then moved to reorder.

Would you please recommend specifically how the resize multiple columns feature might be implemented?

from tabletool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.