Go Back   MarcomCentral (PTI) and FusionPro User Communities > Support > Issues, Questions, Etc.

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 7th, 2021, 12:18 PM
Paul Paul is offline
Forum n00b
 
Join Date: Oct 2009
Location: Birmingham AL
Posts: 8
Default line up decimals in a table

I am trying to line up 4 variable fields' decimal in a column that is left justified.

I am using text measure to figure out the length of the longest of the 4 fields, subtract the length of each field from the longest length, and make the difference into a tab.
Code:
var tb_fld_1 = '<p br="false" findent="'+(lg - tm_fld_1.textWidth)+'">'
table.Rows[1].Cells[1].Content = (tb_fld_1+Field("S_BSC_COVG_AMT"));

Getting closer but not there. Any Ideas of why the measurement is coming up short?
Thanks
Template is attached
Attached Files
File Type: zip decimal issue_Schedule Benefits - table.zip (3.60 MB, 3 views)
__________________
Paul

FusionPro 10.0.26 | Acrobat DC | Win 7 64-bit

Last edited by Paul; June 9th, 2021 at 07:10 AM..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:20 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.