Skip to main content
Inspiring
July 10, 2015
Question

table formatting cell overset

  • July 10, 2015
  • 1 reply
  • 410 views

How to find  the table column over-set and increase column width to avoid the overset in the tables

This topic has been closed for replies.

1 reply

Known Participant
July 12, 2015

Consider the below mentioned code as Sample to improve further:

var dc=app.activeDocument;

var tbs=dc.stories[0].tables[0].columns;

//~ tbs[0].width=15;

//~ tbs[1].width=15;

if (tbs[0].cells[0].overflows==true){

    alert ("S");

    alert (tbs[0].cells[0].contents);

    }

else {

    alert ("N");

    }

Inspiring
July 13, 2015

thanks ELANSEZHIAN