Set Table Row Height?

Submitted by viking on 2025/09/20 20:06

I have inserted Tables in the Doc pane.
Often the row height of a row is suddenly increased. If I try to drag to reduce the height, the row height below it increased. 
I often end up with a mixture of row heights.

Can I somehow select the whole table and set the row height for all rows (e.g. to default)? 

Comments

Yes, but I can't easily search and remove all height tags.
Currently, I copy the html code to notepad and manually remove all tags and then copy back to IQ
I do this frequently and it is taking a lot of time.

I was hoping that this could be implemented in IQ? For example, a button to remove all the height tags to reset the row height to default.....?

That helped apart from the "Date"  row. It doesn't have a height tag:

<HTML><HEAD><META name=GENERATOR content="InfoQube v1.127.1">
<META charset=UTF-8><LINK id=SSDef936 rel=stylesheet type=text/css href="D:\@Prog_Portable\InfoQube_v1.124.6-PORT\AppFiles\default.css"></HEAD>
<BODY><TABLE><TBODY><TR><TD>Name</TD><TD>aaa</TD></TR><TR>
<TD>abs</TD></TR><TR><TD>Type</TD><TD></TD></TR><TR><TD>Open </TD>
<TD></TD></TR><TR><TD>Closed</TD><TD></TD></TR><TR><TD>defr</TD>
<TD>$154</TD></TR><TR><TD>Date</TD><TD><P> </P></TD></TR>
<TR><TD>123 $</TD><TD></TD></TR><TR><TD> Date 2</TD><TD></TD></TR>
<TR><TD></TD><TD></TD></TR></TBODY></TABLE><P> </P><P> </P></BODY></HTML>

Not sure why (I don't really speak html)? 
Also, I added the table (html) from a template in a separate data directory. Not sure why it pulls the style sheet from a previous version of IQ?
 

The problem comes when I hit enter in a cell to continue on a new line. This adds a <P> tag.  Even if I delete this so that I only have one line, the <P> tag is still there and causes the cell height to be larger for those cells. Clicking on Format > Simplify Format at this point does not remove the <P> Tag for some reason. I even tried to leave the cleanup line "blank" so that all Tags would be cleaned, but that also didn't remove the <P> Tag.
Can this somehow be fixed except for manually editing the HTML code in my tables?

I need all Tags except <TD> & <TR> to remain in the Table body because otherwise my VBA script fails (see my other post about Instr search on ItemHTML)
(The other, more complicated, option may be to write VBA scripts to try to cleanup the tags.)

How do I ?