Jump to content

JavaScript Table API – The Basics


Dan Korn

Recommended Posts

Hi Dan, you are right, as my cells content are variables, they do have <p> tags.

Here is the rule code :

var table = new FPTable;

table.AddColumns(20000);

table.AddRows(8);

var theCell = table.Rows[0].Cells[0];

table.Rows[0].Cells[0].Font="Flash-Bold";

table.Rows[0].Cells[0].PointSize = 14;

table.Rows[0].Cells[0].VAlign = "Bottom";

theCell.ShadeColor = "White";

theCell.ShadePct = 100;

table.Rows[0].Cells[0].Content = ToUpper(Field("Titrelieu1"));

var theCell = table.Rows[1].Cells[0];

table.Rows[1].Cells[0].Font="Futura-light";

table.Rows[1].Cells[0].PointSize = 7.6;

table.Rows[1].Cells[0].TextColor = "Black";

table.Rows[1].Cells[0].VAlign = "Top";

theCell.ShadeColor = "White";

theCell.ShadePct = 100;

table.Rows[1].Cells[0].Content = Field("Lieu1");

var theCell = table.Rows[2].Cells[0];

table.Rows[2].Cells[0].Font="Flash-Bold";

table.Rows[2].Cells[0].PointSize = 14;

table.Rows[2].Cells[0].VAlign = "Bottom";

table.Rows[2].Cells[0].Content = ToUpper(Field("Titrelieu2"));

theCell.ShadeColor = "White";

theCell.ShadePct = 100;

var theCell = table.Rows[3].Cells[0];

table.Rows[3].Cells[0].Font="Futura-light";

table.Rows[3].Cells[0].PointSize = 7.6;

table.Rows[3].Cells[0].TextColor = "Black";

table.Rows[3].Cells[0].Content = Field("Lieu2");

table.Rows[3].Cells[0].VAlign = "Top";

theCell.ShadeColor = "White";

theCell.ShadePct = 100;

var theCell = table.Rows[4].Cells[0];

table.Rows[4].Cells[0].Font="Flash-Bold";

table.Rows[4].Cells[0].PointSize = 14;

table.Rows[4].Cells[0].VAlign = "Bottom";

theCell.ShadeColor = "White";

theCell.ShadePct = 100;

table.Rows[4].Cells[0].Content = ToUpper(Field("Titrelieu3"));

var theCell = table.Rows[5].Cells[0];

table.Rows[5].Cells[0].Font="Futura-light";

table.Rows[5].Cells[0].PointSize = 7.6;

table.Rows[5].Cells[0].TextColor = "Black";

table.Rows[5].Cells[0].VAlign = "Top";

theCell.ShadeColor = "White";

theCell.ShadePct = 100;

table.Rows[5].Cells[0].Content = Field("Lieu3");

var theCell = table.Rows[6].Cells[0];

table.Rows[6].Cells[0].Font="Flash-Bold";

table.Rows[6].Cells[0].PointSize = 14;

table.Rows[6].Cells[0].VAlign = "Bottom";

theCell.ShadeColor = "White";

theCell.ShadePct = 100;

table.Rows[6].Cells[0].Content = ToUpper(Field("Titrelieu4"));

var theCell = table.Rows[7].Cells[0];

table.Rows[7].Cells[0].Font="Futura-light";

table.Rows[7].Cells[0].PointSize = 7.6;

table.Rows[7].Cells[0].TextColor = "Black";

table.Rows[7].Cells[0].VAlign = "Top";

theCell.ShadeColor = "White";

theCell.ShadePct = 100;

table.Rows[7].Cells[0].Content = Field("Lieu4");

 

return table.MakeTags();

 

and here is the return code :

http://static.marketing-highways.com/EcoEmballages/Kit-Verre/outils/return_code.png

Link to comment
Share on other sites

  • Replies 67
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi Dan, you are right, as my cells content are variables, they do have <p> tags.

Okay, well, that's a little more information, although it's still hard to tell what's going on without the entire job to look at.

 

Also, it would have been more useful to copy-and-paste the contents of the "Expressions OK" dialog instead of posting a picture, so that I could then copy-and-paste the contents into a rule and try those tags myself.

 

At any rate, I replaced the field names in the code with fields from another job, and the table looks okay to me.

 

I guess what I'm wondering is, without any borders or shading on the table cells, how do you know whether the contents are properly positioned in the cells or not? I would add some calls to SetBorders so that you can see the outlines of the cells; then you'll know whether the contents are aligned correctly. See the first post in this thread, or take a look at the Frodo Travel tutorial, to see how to do this.

 

Although frankly, if you only have a single column in the table, and no borders or shading, I'm also wondering why you're using a table at all. You could just put down the fields into a text frame, and set the paragraph leading, or space above and below, to get the same output.

 

Finally, like a lot of rules I see, there's no need to repeat similar lines of code over and over again, when you can just use a simple loop. Specifically, your rule can be reduced to this:

var table = new FPTable;
table.AddColumns(20000);
table.AddRows(8);
for (var i = 0; i < 4; i++)
{
   var theCell = table.Rows[i*2].Cells[0];
   theCell.Font="Flash-Bold";
   theCell.PointSize = 14;
   theCell.VAlign = "Bottom";
   theCell.ShadeColor = "White";
   theCell.ShadePct = 100;
   theCell.Content = ToUpper(Field("Titrelieu" + (i+1)));

   theCell = table.Rows[(i*2)+1].Cells[0];
   theCell.Font="Futura-light";
   theCell.PointSize = 7.6;
   theCell.TextColor = "Black";
   theCell.VAlign = "Top";
   theCell.ShadeColor = "White";
   theCell.ShadePct = 100;
   theCell.Content = Field("Lieu" + (i+1));
}
return table.MakeTags();

Once you do that, it's a lot easier to make changes, such as adding a couple of lines to set the borders, like so:

var table = new FPTable;
table.AddColumns(20000);
table.AddRows(8);
for (var i = 0; i < 4; i++)
{
   var theCell = table.Rows[i*2].Cells[0];
   theCell.Font="Flash-Bold";
   theCell.PointSize = 14;
   theCell.VAlign = "Bottom";
   theCell.ShadeColor = "White";
   theCell.ShadePct = 100;
   theCell.Content = ToUpper(Field("Titrelieu" + (i+1)));
[color=Green]    theCell.SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
[/color]
   theCell = table.Rows[(i*2)+1].Cells[0];
   theCell.Font="Futura-light";
   theCell.PointSize = 7.6;
   theCell.TextColor = "Black";
   theCell.VAlign = "Top";
   theCell.ShadeColor = "White";
   theCell.ShadePct = 100;
   theCell.Content = Field("Lieu" + (i+1));
[color=Green]    theCell.SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
[/color]}
return table.MakeTags();

Link to comment
Share on other sites

  • 3 weeks later...

Hello all,

 

I'm hoping someone can point me in the right direction. Like the previous poster, I'm having an issue with the VAlign property of FPTable. I have a rule in which I create a table and set it to align cell content to center, both horizontally and vertically. This works if I call the rule as the first item in a text box. But if there is anything at all, even just a carriage return, above the rule, the content of the cells floats to the top. Everything else looks to be following the rule.

 

Here is the rule:

new FPTable;
var myTable = new FPTable;
myTable.AddColumns(16000, 6000, 6000, 6000, 6000, 6000);

// Add the top row
var topRow = myTable.AddRow();
   topRow.Cells[0].HAlign = "Center";
   topRow.Cells[0].VAlign = "Middle";
   topRow.Cells[0].SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
   topRow.Cells[0].Font="Times New Roman";
   topRow.Cells[0].PointSize=11;    
   topRow.Cells[0].Bold="On";
   topRow.CopyCells(0,1,2,3,4,5);
   topRow.SetContents("Your Monthly Amount", "$100", "$250", "$500", "$1,000", "$5,000");

// Add the bottom row
var bottomRow = myTable.AddRow();
   bottomRow.Cells[0].SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
   bottomRow.Cells[0].ShadeColor="Black";
   bottomRow.Cells[0].ShadePct=15;
   bottomRow.Cells[0].Font="Times New Roman";
   bottomRow.Cells[0].PointSize=11;
   bottomRow.Cells[0].Bold="On";    
   bottomRow.CopyCells(0,1,2,3,4,5);
   bottomRow.SetContents("Our Offer To You", "100", "250", "500", "1000", "5000");
// Center the table in the text box
return myTable.MakeTags().replace(/^\<table/, "<table alignment=center");

 

Using FP VDP Creator 8.2.7. I've attached a sample job for perusal. I cannot seem to figure this one out.

 

Thanks!

LetterP.zip

Link to comment
Share on other sites

I'm hoping someone can point me in the right direction. Like the previous poster, I'm having an issue with the VAlign property of FPTable. I have a rule in which I create a table and set it to align cell content to center, both horizontally and vertically. This works if I call the rule as the first item in a text box. But if there is anything at all, even just a carriage return, above the rule, the content of the cells floats to the top. Everything else looks to be following the rule.

 

...

 

Using FP VDP Creator 8.2.7. I've attached a sample job for perusal. I cannot seem to figure this one out.

Thanks for the sample job. I played around with it a bit, and I can reproduce what you're seeing.

 

However, it's not so much that the text is aligned to the top; it's that it's shifted up very slightly. You can see this if you make the text in one of the columns larger, which forces the other cells in the row to be larger as well:

http://forums.pti.com/attachment.php?attachmentid=934&stc=1&d=1385417050

 

So I would say that the content is still roughly centered, even in the first box.

 

However, there is still a discrepancy between the two outputs of the table, so this seems to be a bug. I'll enter a case about this so it can be investigated further.

 

As a workaround, if you know that the table is going to be in a flow after other text, you can just manually add some padding at the top of the cells, by adding a line like this:

    topRow.Cells[0].Margins = { Top:60 };

Checking the "Use legacy line leading" in the Paragraph Globals dialog might give you better results as well.

 

Thanks again for the sample job.

tables.jpg.b66fcdde567753b0e095e1caa139cb8f.jpg

Link to comment
Share on other sites

  • 2 weeks later...
Hi Dan, Thanks for the workaround. It is a bit more elegant than the one I implemented before the reply. I found that adding a new line in the variable text editor just above the table and setting its leading to Auto - 0 lines (instead of 1 or any other value) resulted in the expected behavior from the VAlign assignment. Maybe that will help the dev team isolate the issue further. Did you reproduce the issue in version 9.1? I will be upgrading to version 9.1 as soon as its feasible. Maybe that is squashed in the latest version. Thanks for the help! Mike
Link to comment
Share on other sites

  • 1 year later...

I have a table that uses borders. I have it HAlign Left but it is too close to the border. How can I shift it over to the right a bit. I tried Margins.Left but that doesn't seem to do anything.

 

Also, does anyone know how to use copyfitting in a table???

 

TIA

Link to comment
Share on other sites

I have a table that uses borders. I have it HAlign Left but it is too close to the border. How can I shift it over to the right a bit. I tried Margins.Left but that doesn't seem to do anything.

Setting the margins should work. Can you post your code?

Also, does anyone know how to use copyfitting in a table???

There's no copyfitting in tables. Each cell expands as necessary to accommodate its contents.

Link to comment
Share on other sites

var numberOfFields = 16; // 16 Date, Amount, & Reference fields
var rows = 1; // Header
// Only make rows for all 'Date' fields containing data
for (var n=1; n<=numberOfFields; n++){
   if (Field("Date " + n)) { rows++; }
}
var myTable = new FPTable;
myTable.AddColumns(10400, 10400, 32400);
for (var i=0; i<rows; i++) {
       myTable.AddRow();
       myTable.Rows[i].Cells[0].Margins = { Top:60, Bottom:10, Left:60, Right:30};
       myTable.Rows[i].Cells[0].HAlign = "Left";
       myTable.Rows[i].Cells[0].Font="Arial";
       myTable.Rows[i].Cells[0].SetBorders("Thin","Black","Top","Bottom","Right","Left");
       myTable.Rows[i].CopyCells(0,1,2);
       var date = (i > 0) ? Field("Date " + i) : "GIFT DATE";
       var amt = (i > 0) ? Field("Amount " + i) : "GIFT AMOUNT";
       var notes = (i > 0) ? Field("Reference " + i) : "DESIGNATION/GIFT NOTES";
       myTable.Rows[i].SetContents(date,amt,notes);
}
return myTable.MakeTags();

Link to comment
Share on other sites

Nevermind I guess. Got it to work by calling them in their own line.

 

After all that, I think the whole problem was top and bottom go in 10ths whereas left and right go in 100ths.

 

var numberOfFields = 16; // 16 Date, Amount, & Reference fields
var rows = 1; // Header
// Only make rows for all 'Date' fields containing data
for (var n=1; n<=numberOfFields; n++){
   if (Field("Date " + n)) { rows++; }
}
var myTable = new FPTable;
myTable.AddColumns(10400, 10400, 32400);
for (var i=0; i<rows; i++) {
       myTable.AddRow();
       myTable.Rows[i].Cells[0].Margins = new FPTableMargins;
       myTable.Rows[i].Cells[0].Margins.Top = "60";
       myTable.Rows[i].Cells[0].Margins.Bottom = "10";
       myTable.Rows[i].Cells[0].Margins.Left = "1200";
       myTable.Rows[i].Cells[0].Margins.Right = "450";
       myTable.Rows[i].Cells[0].Font="Arial";
       myTable.Rows[i].Cells[0].SetBorders("Thin","Black","Top","Bottom","Right","Left");
       myTable.Rows[i].CopyCells(0,1,2);
       var date = (i > 0) ? Field("Date " + i) : "GIFT DATE";
       var amt = (i > 0) ? Field("Amount " + i) : "GIFT AMOUNT";
       var notes = (i > 0) ? Field("Reference " + i) : "DESIGNATION/GIFT NOTES";
       myTable.Rows[i].SetContents(date,amt,notes);
}
return myTable.MakeTags();

Edited by dreimer
Link to comment
Share on other sites

  • 1 year later...
It's been too long for this thread to not have something in it so...I have the following simple code which just loops through a set amount of iterations to create a generic table. Everything worked fine until I wanted to add the colors to the rows to make it look like GreenBar paper. Yea I know I'm really dating my age here, but oh well. I took the coding Dan placed earlier
myTable.ShadingColor1 = "Blue";
myTable.ShadingPct1 = 20;
myTable.ShadingRepeat1 = 1;
myTable.ShadingColor2 = "Red";
myTable.ShadingPct2 = 40;
myTable.ShadingRepeat2 = 1;
myTable.ShadingType = "ByRows";

and I placed it in my table rule

var tableRows = 10;

var colHead1 = 'Record';
var colHead2 = 'First Name in Stack';
var colHead3 = 'Record';
var colHead4 = 'Last Name in Stack';
var colHead5 = 'Print File Name';

var myTable = new FPTable;
myTable.ShadingColor1 = "Blue";
myTable.ShadingPct1 = 20;
myTable.ShadingRepeat1 = 1;
myTable.ShadingColor2 = "Red";
myTable.ShadingPct2 = 40;
myTable.ShadingRepeat2 = 1;
myTable.ShadingType = "ByRows";
myTable.AddColumns(10800, 10800, 10800, 10800, 10800);
myTable.AddRow();

myTable.Rows[0].Cells[0].Margins = new FPTableMargins;
myTable.Rows[0].Cells[0].Margins.Top = 23;
myTable.Rows[0].Cells[0].Margins.Bottom = 23;
myTable.Rows[0].Cells[0].Margins.Right = 10;
myTable.Rows[0].Cells[0].Margins.Left = 10;
myTable.Rows[0].Cells[0].Font="PNCSans";
myTable.Rows[0].Cells[0].PointSize=9.5;
myTable.Rows[0].Cells[0].VAlign = "Middle"
myTable.Rows[0].CopyCells(0, 1, 2, 3, 4);
myTable.Rows[0].SetContents(colHead1, colHead2, colHead3, colHead4, colHead5);
myTable.Rows[0].Type = "Header";


for ( var a = 1; a <= tableRows; a++)  {
   myTable.AddRow();
   myTable.Rows[a].Cells[0].Margins = new FPTableMargins;
   myTable.Rows[a].Cells[0].Margins.Top = 23;
   myTable.Rows[a].Cells[0].Margins.Bottom = 23;
   myTable.Rows[a].Cells[0].Margins.Right = 100;
   myTable.Rows[a].Cells[0].Margins.Left = 10;
   myTable.Rows[a].Cells[0].Font="PNCSans";
   myTable.Rows[a].Cells[0].PointSize=8.4;
   myTable.Rows[a].Cells[0].VAlign = "Middle"
   myTable.Rows[a].CopyCells(0, 1, 2, 3, 4);
   myTable.Rows[a].Cells[0].Content = "Record 1-"+a;
   myTable.Rows[a].Cells[1].Content = "First Name 1-"+a;
   myTable.Rows[a].Cells[2].Content = "Record 2-"+a;
   myTable.Rows[a].Cells[3].Content = "First Name 2-"+a;
   myTable.Rows[a].Cells[4].Content = "Print File_"+a;
}

return myTable.MakeTags();

However no matter where I place the code section for the color (I've tried at the front as shown above, I've tried placing it in front of and after the "myTable.AddRow();" statements, I've tried placing it at the end before the "MakeTags()" statement) each time I get a blank table. The contents of each cell are correct, but no color. Am I missing something? Where does the color coding come in to the programming scheme?

Link to comment
Share on other sites

var tableRows = 10;

var colHead1 = 'Record';
var colHead2 = 'First Name in Stack';
var colHead3 = 'Record';
var colHead4 = 'Last Name in Stack';
var colHead5 = 'Print File Name';

var myTable = new FPTable;
myTable.ShadingColor1 = "Blue";
myTable.ShadingPct1 = 20;
myTable.ShadingRepeat1 = 1;
myTable.ShadingColor2 = "Red";
myTable.ShadingPct2 = 40;
myTable.ShadingRepeat2 = 1;
myTable.ShadingType = "[color="Red"]ByRow[/color]";
myTable.AddColumns(10800, 10800, 10800, 10800, 10800);
myTable.AddRow();

myTable.Rows[0].Cells[0].Margins = new FPTableMargins;
myTable.Rows[0].Cells[0].Margins.Top = 23;
myTable.Rows[0].Cells[0].Margins.Bottom = 23;
myTable.Rows[0].Cells[0].Margins.Right = 10;
myTable.Rows[0].Cells[0].Margins.Left = 10;
myTable.Rows[0].Cells[0].Font="PNCSans";
myTable.Rows[0].Cells[0].PointSize=9.5;
myTable.Rows[0].Cells[0].VAlign = "Middle"
myTable.Rows[0].CopyCells(0, 1, 2, 3, 4);
myTable.Rows[0].SetContents(colHead1, colHead2, colHead3, colHead4, colHead5);
myTable.Rows[0].Type = "Header";


for ( var a = 1; a <= tableRows; a++)  {
   myTable.AddRow();
   myTable.Rows[a].Cells[0].Margins = new FPTableMargins;
   myTable.Rows[a].Cells[0].Margins.Top = 23;
   myTable.Rows[a].Cells[0].Margins.Bottom = 23;
   myTable.Rows[a].Cells[0].Margins.Right = 100;
   myTable.Rows[a].Cells[0].Margins.Left = 10;
   myTable.Rows[a].Cells[0].Font="PNCSans";
   myTable.Rows[a].Cells[0].PointSize=8.4;
   myTable.Rows[a].Cells[0].VAlign = "Middle"
   myTable.Rows[a].CopyCells(0, 1, 2, 3, 4);
   myTable.Rows[a].Cells[0].Content = "Record 1-"+a;
   myTable.Rows[a].Cells[1].Content = "First Name 1-"+a;
   myTable.Rows[a].Cells[2].Content = "Record 2-"+a;
   myTable.Rows[a].Cells[3].Content = "First Name 2-"+a;
   myTable.Rows[a].Cells[4].Content = "Print File_"+a;
}

return myTable.MakeTags();

You just need to change it to "ByRow" instead of "ByRows".

Link to comment
Share on other sites

  • 6 months later...
Hello all,

 

I'm hoping someone can point me in the right direction. Like the previous poster, I'm having an issue with the VAlign property of FPTable. I have a rule in which I create a table and set it to align cell content to center, both horizontally and vertically. This works if I call the rule as the first item in a text box. But if there is anything at all, even just a carriage return, above the rule, the content of the cells floats to the top. Everything else looks to be following the rule.

 

Here is the rule:

new FPTable;
var myTable = new FPTable;
myTable.AddColumns(16000, 6000, 6000, 6000, 6000, 6000);

// Add the top row
var topRow = myTable.AddRow();
   topRow.Cells[0].HAlign = "Center";
   topRow.Cells[0].VAlign = "Middle";
   topRow.Cells[0].SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
   topRow.Cells[0].Font="Times New Roman";
   topRow.Cells[0].PointSize=11;    
   topRow.Cells[0].Bold="On";
   topRow.CopyCells(0,1,2,3,4,5);
   topRow.SetContents("Your Monthly Amount", "$100", "$250", "$500", "$1,000", "$5,000");

// Add the bottom row
var bottomRow = myTable.AddRow();
   bottomRow.Cells[0].SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
   bottomRow.Cells[0].ShadeColor="Black";
   bottomRow.Cells[0].ShadePct=15;
   bottomRow.Cells[0].Font="Times New Roman";
   bottomRow.Cells[0].PointSize=11;
   bottomRow.Cells[0].Bold="On";    
   bottomRow.CopyCells(0,1,2,3,4,5);
   bottomRow.SetContents("Our Offer To You", "100", "250", "500", "1000", "5000");

// Center the table in the text box
return myTable.MakeTags().replace(/^\<table/, "<table alignment=center");

 

Using FP VDP Creator 8.2.7. I've attached a sample job for perusal. I cannot seem to figure this one out.

 

Thanks!

I understand this is a relatively old post, but I've been battling this bug all week and thought I'd share another workaround. I've noticed in the past that toggling "use legacy line leading" will sometimes remedy the issue (as previously noted in this thread) but I'm still unclear as to why that is. Furthermore, I think FusionPro has begun to rework the way it handles leading – so relying on "legacy" leading as a workaround did not sit well with me.

 

While thumbing through the section on tables in the TagsRefGuide, I noticed a "space" attribute and found that if you define space above (or below) the table, all of the cells magically become centered again:

var myTable = new FPTable;
myTable.AddColumns(16000, 6000, 6000, 6000, 6000, 6000);

// Add the top row
var topRow = myTable.AddRow();
   topRow.Cells[0].HAlign = "Center";
   topRow.Cells[0].VAlign = "Middle";
   topRow.Cells[0].SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
   topRow.Cells[0].Font="Times New Roman";
   topRow.Cells[0].PointSize=11;    
   topRow.Cells[0].Bold="On";
   topRow.CopyCells(0,1,2,3,4,5);
   topRow.SetContents("Your Monthly Amount", "$100", "$250", "$500", "$1,000", "$5,000");

// Add the bottom row
var bottomRow = myTable.AddRow();
   bottomRow.Cells[0].SetBorders("Thin", "Black", "Top", "Bottom", "Right", "Left");
   bottomRow.Cells[0].ShadeColor="Black";
   bottomRow.Cells[0].ShadePct=15;
   bottomRow.Cells[0].Font="Times New Roman";
   bottomRow.Cells[0].PointSize=11;
   bottomRow.Cells[0].Bold="On";    
   bottomRow.CopyCells(0,1,2,3,4,5);
   bottomRow.SetContents("Our Offer To You", "100", "250", "500", "1000", "5000");
// Center the table in the text box
return myTable.MakeTags().replace(/^\<table/, '<table [color="red"]space="above:1"[/color] alignment=center');

If you actually want to add space above/below the table, then it's worth mentioning that the value should be in 10ths of a point but any value greater than 0 fixes the alignment issue. More info can be found on page 56 of the TagsRefGuide.pdf

Link to comment
Share on other sites

Furthermore, I think FusionPro has begun to rework the way it handles leading

Yes, in FusionPro 9.3.36 and later, you can specify the leading mode as 9.3 on the Global Paragraph Settings dialog, which improves several issues like this regarding text layout in tables.

Link to comment
Share on other sites

  • 4 weeks later...
What is the proper tag for assigning a Title to a table?

It's the <title> tag, as documented in the FusionPro Tags Reference. But there's no corresponding property in the JavaScript table API, because, quite frankly, it's just as easy to put the title in the text frame before the rule that builds the table.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...