summarytable
summarytable copied to clipboard
Right and left border formatting
Hi,
I can not get the right and left border style formatting to work properly. When I try this, my last data column jumps to a new line - does not matter how many data columns, the last one always jumps to next line as per picture below.
Example from your sample file where I have changed the "border-top-style" property to "border-right-style":
"headerStyle": "border-right:1px;border-right-color:#aaa;border-right-style:solid;

Hi, Thanks for pointing this out. I can confirm that this is a bug that now has been fixed (in version 1.4.3). It has to do with the reserved size of the table currently only include the columns' width, not including the border width. The new version will have a special property "additionalWidth" that can be used for this scenario. Version 1.4.3 will reach production in a couple of weeks. In the meantime you can use the preview version, available in the dist folder.
/ Fredrik
Hi Fredrik, Downloaded the dev version 1.4.3, but where do I set this property? On each of the data columns, on one of them or somewhere else?
-Simen
Hi, You specify this property one time on the root-level of the json structure (same level as columns and rows).