maff
January 11, 2017, 6:49am
1
Hi,
I am on the Hosted plan through Invoice Ninja.
Is it possible to adjust the column width of the Quantity and Unit Price columns?
If they could be narrower, that would allow for more room in the details column and the custom invoice fields added.
Also, is it possible to make the custom fields manually return? so that info can be listed vertically.
Thank you!!
hillel
January 11, 2017, 7:00am
2
You can specify the column widths on /settings/customize_design
Change from ‘Form’ to ‘Code’
Find this line: "widths": "$invoiceLineItemColumns",
Change it to: "widths": ["15%", "40%", "15%", "10%", "10%"],
Adjust the values to fit
Note: you may need to add sizes if you’re using line item taxes or custom fields.
We don’t support multi-line custom field values.
maff
January 11, 2017, 7:54am
3
Great! That worked! Thanks!
Is it possible to switch around the Unit Price and Quantity columns? so Quantity comes before Unit price.
Thanks again!
hillel
January 11, 2017, 7:55am
4
No, that isn’t supported.
system
December 1, 2018, 8:28am
5
Are there any plans to support this? Being able to choose the order and types of included columns is a feature that may people could make use of.
hillel
December 1, 2018, 8:30am
6
This is an old post, it’s now supported.
You can change the field order on Settings > Invoice Design > Product fields.
nanax
December 22, 2018, 7:57am
8
Hello,
The original question is different, the original question was to resize the columns (adjust the column width).
I tought that “widths”: [“15%”, “40%”, “15%”, “10%”, “10%”],
would work, but it’s is not. The portal says Uncaught TypeError: Cannot set property ‘_minWidth’ of undefined
Any idea ? I’m running 4.5.6 self hosted.
hillel
December 22, 2018, 7:58am
9
Do you have 5 columns in the invoice items table?
nanax
December 22, 2018, 7:59am
10
Ok nevermind, the issue was that I have 6 columns, not 5, so I have to use "widths": ["15%", "40%", "15%", "10%", "10%", "10%"],
Just in case someone run into the same issue
Zeidroc
January 6, 2021, 10:24am
11
Hi,
I am specifying column widths on /settings/customize_design
You previously mentioned that I may need to add sizes if I’m using line item taxes, which is indeed the case.
How do I go about adding sizes please?
Thanks,
Fabien
hillel
January 6, 2021, 10:41am
12
Hi
["15%", "40%", "15%", "10%", "10%"],
vs
["15%", "30%", "15%", "10%", "10%", "10%"],