Jump to content

Table question - spacing


Kal

Recommended Posts

Need a little more help, first time working with tables.

I have 3 rows that I want to tighten up the spacing in between each row

Here is what I have:

-----------------------------

new FPTable;

var myTable = new FPTable;

myTable.AddColumns(0, 12500, 8000, 8000, 8000, 8000, 10000);

myTable.AddRows(3);

 

 

//Font

myTable.Rows[0].Cells[0].Font="BellSlim Regular";

 

 

//1st Row

myTable.Rows[0].Cells[1].Content = Field("PD_PH_PREFIX");

myTable.Rows[0].Cells[2].Content = Field("PD_PHONES1");

myTable.Rows[0].Cells[3].Content = Field("PD_PHONES2");

myTable.Rows[0].Cells[4].Content = Field("PD_PHONES3");

myTable.Rows[0].Cells[5].Content = Field("PD_PHONES4");

myTable.Rows[0].Cells[6].Content = Field("PD_PHONES5");

 

 

//2nd Row

myTable.Rows[1].Cells[2].Content = Field("PD_PHONES6");

myTable.Rows[1].Cells[3].Content = Field("PD_PHONES7");

myTable.Rows[1].Cells[4].Content = Field("PD_PHONES8");

myTable.Rows[1].Cells[5].Content = Field("PD_PHONES9");

myTable.Rows[1].Cells[6].Content = Field("PD_PHONES10");

 

 

//3rd Row

myTable.Rows[2].Cells[2].Content = Field("PD_PHONES11");

myTable.Rows[2].Cells[3].Content = Field("PD_PHONES12");

myTable.Rows[2].Cells[4].Content = Field("PD_PHONES13");

myTable.Rows[2].Cells[5].Content = Field("PD_PHONES14");

myTable.Rows[2].Cells[6].Content = Field("PD_PH_SUFFIX");

 

return myTable.MakeTags();

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...