I'm building a large table with all cell content centered within each cell except for two of the columns. I know I can add alignment: 'center' to individual cells, but it would be nice set that at the table level as well to be more efficient. I tried specifying the alignment at the table level, but it didn't work. Setting the alignment on individual cells should still work and override what is set at the table level.
Yes, it is possible.
Example:
var dd = {
content: [
{
'alignment': 'center',
table: {
body: [
['Column 1', 'Column 2', 'Column 3'],
['One value goes here', 'Another one here', 'OK?']
]
}
}
]
}
@liborm85 It doesn't center the table.

Most helpful comment
@liborm85 It doesn't center the table.