Skip to main content
Participant
April 22, 2009
Question

[CS2][JS] Table

  • April 22, 2009
  • 1 reply
  • 766 views

Hello,

I have a table with seven cells, I want to limit espace between text and the bottom border of the cell2. Morevover, i want to increase height of cell 7 in order to have table.height = 276 whithout increse the height of other cells.

This topic has been closed for replies.

1 reply

Inspiring
April 22, 2009

Are these cells side by side or one on top of the other? Or some other shape?

What progress have you made with your script?

Dave

dave_milAuthor
Participant
April 23, 2009

I show you a picture of my table.

Table width : 276mm

cell0 width : 12mm

cell1 : 4mm

cell2:

cell3: 4mm

cell4:4mm

cell5:4mm

cell6:

cell7:

I trie to specify cell6.height = 276 - 12 - 4 * 4 but i'have an mistake.

"at least / exactly"

Morevorver int the UI, i have a dropdown to specify "eqals to", "superior or equals to". How can i specify "equals to" by script ?

Inspiring
April 23, 2009

Unfortunately, pictures aren't working here at the moment -- they seem to be in the queued state for ever.

If you look in the CS2 Scripting Reference PDF you'll see the properties of cells (or rows) include autoGrow (I'm assuming JavaScript because I don't think you've said which language) and height. Set autoGrow to false and the height to whatever you want.

Dave