for(i=0;i<myTable.length;i++)
{
currentheight=0;
_tfheight=myTable[i].parent.geometricBounds[2]-myTable[i].parent.geometricBounds[0];
TabCells=myTable[i].columns[0].cells;
alert(TabCells.length);
for(j=0;j<TabCells.length;j++)
{
currentheight+=TabCells[j].height;
}
alert(currentheight);
alert(_tfheight);
if(currentheight>_tfheight)
{
finalheightofcell=_tfheight/TabCells.length;
alert(finalheightofcell);
myTable.height=finalheightofcell*TabCells.length;
}
}
myTable: It is the table that I want to edit. I followed a link on the same forum where width of the table was overrunning the text frame but it does not help. Don't know what's wrong. Is the reason for "no effect" from this code is the greater text size and unformatted table?