I'm trying to set a minheight attribute within a table but I'm uncertain where to put FPTableRow minHeight.
Any help would be appreciated.
Thanks
}
/*=============================================================================
|| Create the table
||=============================================================================*/
new FPTable;
var myTable = new FPTable;
myTable.AddColumns(7000, 14000, 14000, 14000); // 1 inch = 7200 pts
myTable.AddRows(clientMatch.length+2);
// HEADER ROW FORMATTING
myTable.Rows[0].Type = "Header";
myTable.Rows[0].Cells[0].Font = "Helvetica";
myTable.Rows[0].Cells[0].PointSize = "10";
myTable.Rows[0].Cells[0].Font = "HelveticaNeue LT 75 Bold";
myTable.Rows[0].Cells[0].TextColor = "Black";
myTable.Rows[0].Cells[0].ShadeColor = "Lt. Blue";
myTable.Rows[0].Cells[0].ShadePct = 100;
myTable.Rows[0].Cells[0].Margins = new FPTableMargins;
myTable.Rows[0].Cells[0].Margins.Top = 50;
myTable.Rows[0].Cells[0].Margins.Right = 500;
myTable.Rows[0].Cells[0].HAlign = "Center";
myTable.Rows[0].CopyCells(0, 1, 2, 3); // Apply the same formating to each cell in this row
// HEADER ROW CONTENT
myTable.Rows[0].SetContents("Date", "Check/Confirmation Number", "Fund Name", "Total Amount");
// interate through the length of the arrays (data matches from external data file) and create rows
for (var i=1; i<=clientMatch.length; i++)
{
// TABLE CONTENT FORMATTING
myTable.Rows.Cells[0].Font = "Helvetica";
myTable.Rows.Cells[0].PointSize = "10";
myTable.Rows.Cells[0].Margins = new FPTableMargins;
myTable.Rows.Cells[0].Margins.Top = 50;
myTable.Rows.Cells[0].Margins.Bottom = 50;
myTable.Rows.Cells[0].Margins.Right = 500;
myTable.Rows.Cells[0].SetBorders("Thin", "Lt. Blue", "Bottom");
myTable.Rows.Cells[0].HAlign = "Center";
myTable.Rows.CopyCells(0,1,2,3); // Apply the same formating to each cell in this row
// CREATE CONTENT FOR EXTERNAL DATA FILE RECORDS
myTable.Rows.SetContents(invoiceMatch[i-1], dateMatch[i-1], jobMatch[i-1], amtMatch[i-1]);
}
// FOOTER ROW FORMATTING
myTable.Rows[clientMatch.length+1].Cells[0].Font = "Helvetica";
myTable.Rows[clientMatch.length+1].Cells[0].PointSize = "10";
myTable.Rows[clientMatch.length+1].Cells[0].Font = "HelveticaNeue LT 75 Bold";
myTable.Rows[clientMatch.length+1].Cells[0].TextColor = "Black";
myTable.Rows[clientMatch.length+1].Cells[0].ShadeColor = "White";
myTable.Rows[clientMatch.length+1].Cells[0].ShadePct = 100;
myTable.Rows[clientMatch.length+1].Cells[0].Margins = new FPTableMargins;
myTable.Rows[clientMatch.length+1].Cells[0].Margins.Top = 50;
myTable.Rows[clientMatch.length+1].Cells[0].Margins.Right = 500;
myTable.Rows[clientMatch.length+1].Cells[0].SetBorders("Thin", "Lt.Blue", "Top");
myTable.Rows[clientMatch.length+1].Cells[0].HAlign = "Center";
myTable.Rows[clientMatch.length+1].CopyCells(0, 1, 2, 3); // Apply the same formating to each cell in this row
// CREATE FOOTER CONTENT
myTable.Rows[clientMatch.length+1].SetContents("2014 TOTAL","","", Field("total"));
return myTable.MakeTags();
}