11

I have a lot of tables that designers have to adjust slightly to fit the content. This takes a large amount of time in our process and I would like to know if there is anyway to skip this? Perhaps a custom script?

If not, could you suggest what I should do? How would I go about creating my own script to auto-fit the columns to the data?

Also the table must always be 100% of the available width (normally into a text-box)

  • 1
    Not that I'm aware of within InDesign but I've seen a thread on Adobe forums linking to a book on InDesign scripting that apparently includes a script that does this. I have no idea if it actually works, if there's a better place to find the script, if it still works in CS6, etc - but that might help. – user56reinstatemonica8 Mar 13 '13 at 10:40
  • 1
    Oops looks like I posted the wrong link above: the adobe forums link should have been forums.adobe.com/message/2280922 also, this question should be linked to graphicdesign.stackexchange.com/questions/4235 (which sadly doesn't have an answer either) – user56reinstatemonica8 Jun 11 '13 at 14:45
  • Can you throw up some images explaining what you're looking to do? – Fireflight Sep 9 '13 at 15:52
  • Now I can't, but imagine you throw a lot of data in excel and then select the columns and then double click on them. It will resize the columns to fit the data. – Totty.js Sep 9 '13 at 15:56
1

If the table width must stay the same the only logical way is to change the row height to at least, as this would allow to automatically fit content.

If you want to change the cell width this could be a problem, as the table could become wider than the containing page. While page size is not an issue in Excel, InDesign is built around print, so you need to keep your content inside the page.

protected by DᴀʀᴛʜVᴀᴅᴇʀ Feb 16 '17 at 18:47

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.