Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
When I use the "Convert to header rows" option under the table menu, AT converts the select rows under <thead>. However it automatically sets the valign attribute to top on every entry in thead on the converted row. Is there a preference or option to restrict this. I am using AT 5.4
Karthik
Hi Andy,
I checked our schema and it does not have any default for valign. I was referring to the ArborText Help Center on topic called "Attribute Inheritance and minimization" section which talks about some system default (see attachment). I was looking if this is something that can be modified or does this needs to be done programmatically through ACL.
Karthik
Thank for your response Paul. I raised a support ticket to PTC and received the below response - seem no OOTB solution
=======
This is the expected, current behavior and unfortunately, there’s not a way to turn if off.
Table properties and what should happen to them when cells are moved or copied is always controversial. We generally try to preserve the settings. This case is complicated because the default for vertical alignment is different for a header cell (“bottom”) as opposed to a body cell (“top”). So, when you change the row to be a header row, the vertical alignment would change if we didn’t do anything (if no attribute was set). Again, we try to preserve the settings, so in this case, we explicitly set the attribute so the cell’s vertical alignment remains unchanged.
We currently have no method to override this.
=======
Karthik