Skip to main content
dublove
Legend
August 22, 2021
Answered

A remedy for the lack of table footer needs script help

  • August 22, 2021
  • 2 replies
  • 431 views

I often encounter long tables. 

The table line at the bottom of each paging table is not bold. You need to set it manually

I see the footer function, but it's not perfect.

I want to achieve:

(1) Add a row at the end of the table.

(2) The top line of this row is empty and the bottom table line is 0.5mm.

(3) The row height is 0.1 (there seems to be a minimum row height of 1.058mm).

(4) In this row, the leftmost table line is 0 and the rightmost line is 0. The middle does not change.(Sometimes it is necessary to set the leftmost and leftmost table lines to none)

(5) Apply the cell style "footer" to this row.

 

It's annoying to do these locks. I hope experts can help implement them with scripts

Thank you very much.

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

Also, I want to ask.

When using and executing scripts, can you just place the cursor in the table without even selecting the entire table.

There is no need to select the last row

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

I Use a diagram to show it

 

This topic has been closed for replies.
Correct answer Peter Kahrel

David Blatner described a nice method to do continuation headers in tables. A slight variant could be used to create the effect you're after. Worth looking into.

 

https://creativepro.com/continued-heading-table/

2 replies

Peter Kahrel
Community Expert
Peter KahrelCommunity ExpertCorrect answer
Community Expert
August 22, 2021

David Blatner described a nice method to do continuation headers in tables. A slight variant could be used to create the effect you're after. Worth looking into.

 

https://creativepro.com/continued-heading-table/

dublove
dubloveAuthor
Legend
August 22, 2021

I have learned to use the continuation table function.

What I want to ask now is, continuous tables,

The table lines at the bottom of the table on each page are bold.

The method I use now is to use the footer, but I hope I can do it quickly with scripts

brian_p_dts
Community Expert
Community Expert
August 22, 2021

Why start a new thread when we have this one:

https://community.adobe.com/t5/indesign/how-to-implement-the-footer-of-the-last-behavior-of-a-table-with-a-script/m-p/12332461#M442083

 

What you're after is not a simple solution, which is why no one has provided you with free code. No better time to start learning scripting then the present. 

dublove
dubloveAuthor
Legend
August 22, 2021

This is a very useful script for everyone.

You will be great.

Thanks~