cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the row count of a Table DATA?

0 Kudos

Hi,

In my Adobe form layout, I have a Table node which is bound to an internal table. Now at runtime, I want to determine the number of rows that the internal table has, i.e the row count of the DATA node of the Table. How will I be able to determine the no. of rows of the internal table at runtime using Javascript? I am not being able to find any suitable answer in this forum. Please suggest. Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Solved by myself.

Former Member
0 Kudos

Hi Anirban,

Kindly let me know how you have solved this issue.

I want to know number of rows in table, if row 1 then need to hide otherwise need to show in adobe.

Sharrad Dixit

dixitasharad at gmail

Former Member
0 Kudos

Hi,

If you bind the interactive form table to the internal table and specify some properties, the table will vary its row size according to the number of data available in the internal table.

You have to wrap the table in a sub form, check 'allow page break with contents' and property 'flowed'.

the table will automatically increase its row size...

Is this the reason for which you wanted for the row count..?

If so, this will help you..

Regards.

Surya

0 Kudos

Hi Surya,

First of all, thanks for your reply.. Yes, that is the reason for which I wanted the row count. However I solved it by myself. The answer is to use the TABLE.DATA.all.length property.