cancel
Showing results for 
Search instead for 
Did you mean: 

difference between template and table in smartforms

Former Member
0 Kudos

what is the difference between a <b>template</b> and <b>table</b> in smartforms

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

<b>template is Output of a table containing static data</b>

these are the Possible direct successors-All except window, page, table,

and template nodes

<b>Table - Output of a table containing application</b>

<b>data</b> and these are the Possible direct successors-as with template node

Rewards if useful.

Thanks,

Usha

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Krish,

Template is used for proper allignment of data which table is used for displaying multiple data.

We can say Template is for static data and Table is for dynamic data.

Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:-

Name- Krishna Company- WIPRO Location- Chennai

Desig- S/W Native - Mumbai

Then for proper allighnment we can create a template and split that into 3 columns and 2 rows and create text elements for each cell display a proper allighned data at the output.

When we include a template inside a loop it gives the same property as a table.

When we have mutiple data which is to be extended to the next page like when we display all employee details in a company we use table.

Table has 3 sections , HEADER, ITEM ,FOOTER

The header secntion will be executed once and it will loop at the item level. at the end footer will be executed.

Hope U got some idea

Reward Points if helpful,

Regards

Avi....