cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe forms - resize table row height dynamically

ouhamoumustapha
Active Participant
0 Kudos

Hi All,

We have a requirement to adjust dynamically the height of a row based on the data, I've tried a several ways but no one work until now.

The table contain 3 columns.

Can you please help me to do this without using script ?

Thanks a lot for your help.

Mus

Accepted Solutions (1)

Accepted Solutions (1)

former_member198834
Participant
0 Kudos

Hi Mus,

Use Subform for each column. subform content must be Flowed, top-to-bottom.

Suresh

Answers (3)

Answers (3)

stephenl1
Participant

You can do it by editing the XML

1. Click in the first data column of the row that is to be dynamically enlarged

2. Click on the tab labelled XML source

3. Find the line that starts with <draw h=

<draw h="5mm" name="<cell_name>"><br>

Note: the mm number will be whatever your row is set to, and <cell_name> will be your own cell name.

4. Change the h to minH, so the line looks as follows

<draw minH="5mm" name="<cell_name>"><br>

5. Repeat steps 3 and 4 for each data cell on the row

6. Save and activate the form (when saving you must save the changes to the XML).

Note: I've had this work perfectly for expanding text, but not for a variable sized image (graphic).

rakesh_m2
Contributor

Hi Mus,

Enable 'Expand to height on row sub-form and enable 'Allow multiple lines on the field'. 

--

Rakesh

Former Member
0 Kudos

Hi,

on that text object, open layout palettes and set width n height both set 'expand to fit' option. secondly on subform the height should hav expand to fit turned on too

thanks

regards,

xiangli