When I first created my table the first column needed to be widest, but now I need the last column to be widest and I can't figure out how to specify custom ratios of column sizes
Total hack but it works and without a plugin.
There you have it, the hacky way to do this. What this does is fools Confluence into thinking thatfirstsentenceisjustonelongstringofcharacters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I've used a similar lower-tech method. I typically have a blank row at the bottom of many of my tables, so in there I'll just put a long string of x's (xxxxxxxxxxxxxxxxxxxxx) based on how wide I want each column. I then highlight the x's and turn the font color to white so they're not visible. They are only visible if someone select the cell/row/table for coping. You could also put this string of x's in the header or first row if you prefer. Seems to work well enough.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great tip. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah ... it's "insert the first symbol (which is invisible)"
rather than "insert the first symbol which is invisible)" :-)
And what's the less-than char there for ?
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't believe you can specify column widths with the built-in table construct. However, there are various plugins available that will give you what you need.
The one I've seen most often is the table-plus macro that comes with the Table Plugin for Confluence. Look for it in the marketplace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See How to control table column width specifically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solution is completely manual, but if you are working on a template and have access to source editor (within editing mode <>), you can set the width of the various cells.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This issue has a free user macro in the comments (Fabian Meier). It allows one to set the width for all tables on a page without wasting money on a plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@manthony
Thanks for this useful tip.
However, what can I do in this specific case: the cell content is a "User id" macro (i.e. it displays user full name according to the userid I've entered when creating the macro block)?
For instance, when source code is:
<p> <ac:structured-macro ac:name="profile"> <ac:parameter ac:name="user"> <ri:user ri:userkey="1e270f8444cxxxxxxxxxxx"/> </ac:parameter> </ac:structured-macro> </p>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not the cleanest way, but I've found this one to be the simplest. If you're using Confluence 4.1.5+ and are reasonably comfortable with HTML, do the following:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just installed the Source Editor and it's not letting me make changes to the table. I found a JIRA someone else raised with the same problem. The changes in tables are not saving. Too bad....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.