Tip of the day

Support tickets can be submitted directly from application

Background shape

How Docy works

Learn languages online with the world's best tutors

Background shapeBackground shape

Most requested features of 2020

Orci sapiente illum id phasellus! Harum! Adipisicing ligula aperiam, litora temporibus minim, […]

Can I add videos into sidebars?

Si longus, levis. Primum divisit ineleganter; Vide, quantum, inquam, fallare, Torquate. Sed […]

Theme fails to load to WordPress

The Docly WordPress Theme fails to load into WordPress. My login information […]

Tinkety tonk old fruit victoria sponge squiffy bleeder twit the bee's knees loo David, buggered haggle pear shaped bubble and squeak.”

Mark Tony
Director of Sales and Success

Curabitur vitae dignissimos pulvinar eligendi ullamcorper, laoreet, accusantium numquam habitant quaerat minim consequatur”

Eh Jewel
Software Developer

Hendrerit laoreet incidunt molestie eum placeat, neque ridiculus? Maecenas incididunt aperiam tempora cumque quos?”

Penny Tool
Software Developer

Great Customer
Relationships start here

Publications

View All
Newsletter

Newsletter publications. Read the latest news.

Documentation

Hello and welcome to Cellosign documentation. If you are new to cellosign please check Getting

View All
Getting Started

Hello and welcome, we are happy to introduce

User Application
User Application

The user application is the user's main entry

Release management

Release management is our process to introduce new

Docy Mission

Docy is Documentation webstie for everyone, emphasizing accessibility, performance, security, and ease of use.

The Technology

Learn about the software

The Community

Learn about the people

Docy Video Tutorials

Check the current status of Docy services

Not finding the help you need?

Contact Us

The community team is here to help

Ask Everyone

Hello, what can we help you find?

Publications

Documentation

Hello and welcome to Cellosign documentation. If you are new to cellosign […]

Product Support
  • 5
  • 7
Forums for individual product support topics
Docly Theme Support
  • 12
  • 20
Get support for the Docly WordPress theme

Welcome to Docy Forum

Posts
0
Topics
0
Replies
0
Docly Theme Support

Get support for the Docly WordPress theme

Topic

Test by rubel

<span style="color: rgba(0, 0, 0, 0.8...

1
0

rrrr

rrrrr

1
0

Question about documentation levels

Hello, I would like to ask if it is poss...

0
2
User Feedback

We listed to our customers. Post your feedback in this forum.

Topic

terttdf

dfg dfgd dfgdf  fdgdf gdfgdffg dgd  fg...

1
0

psd and mue

why I can't put question mark❓ ???? ...

1
0

COGUMELOS MÁGICOS E A LEI

  <p style="text-align: center;"...

1
0

Featured Image on Mobile

Hello, The position of featured image...

0
3

Template names

Hi, I have just purchased your template...

0
0
Aprimo Theme Support
  • 8
  • 4
Get support for Aprimo WordPress theme via this forum.
Deksi Theme
  • 5
  • 3
Get support for our upcoming Deski WordPress theme via this forum.
Gullu Theme Support
  • 2
  • 1
Get support for Gullu WordPress theme via this forum.

Popular Posts

Hello, what can we help you find?

Publications

Documentation

Hello and welcome to Cellosign documentation. If you are new to cellosign […]

What are you looking for?

Search here to get answers to your questions

Table of contents

Main course contains 2 parts which cover JavaScript as a programming language and working with a browser. There are also additional series of thematic articles

More resources

App status

Stay up to date on Front’s technical systems and app stability.

New features

Learn about the latest app updates and new feature releases.

For developers

Build integrations and customize Front with powerful APIs.

Controller types

Table

Estimated reading: 5 minutes 394 views

Table is a read only element that can be applied to HTML forms. Table can be populated with data through an API or by Lookup Connector (fetching from remote source such as database or Salesforce application).

How to implement a table?

In template studio, grab Table element from the right pane and drag it into the form. It’s recommended that a table will be applied to full width column.

To setup a table click on the Values and Display tab and apply columns to table. In this example we are constructing a table for Orders that will have columns: Order ID, Name, Amount and Shipped.

Configuration

Table column configuration includes the following attributes:

Column headingColumn heading text
Default valueDefault value in case cell does not include data
HiddenHide or show column
Width %Width in %, out of 100% for the entire table
PrefixPrefix value for cell in case text applied to cell
SuffixSuffix value for cell in case text applied to cell
AlignAlignment: Auto [Based on language], Right, left, center or justified

Apply footer row

Check “Apply footer row” at the bottom. Checking it will open two additional columns to the table above:

“Footer type” and “Footer value”.

  • Use footer type “Text” to add textual value to footer
  • Use “Sum” to calculate the values from column above

“Sum” function will calculate the column above given that the values are numeric or blank only. If one of the values is a letter, a SUM result will not be displayed.

Value precision (decimal point) is not rounded and will display the SUM value with comma separator and result precision.

Design

For table design, click on Design tab and check design settings. “Add numbering” will add ordered numbers to table rows automatically.

BorderedDisplay table borders.
StripedSeparate odd/even rows by background colors
Hover
NumberingAutomatically add sequence number to each row
Font sizeControl Cells font size in %, relative to default font
Cell padding top-bottomPad Table cells top and bottom
Cell padding left-rightPad Table cells left and right

For table design, click on Design tab and check design settings. “Add numbering” will add ordered numbers to table rows automatically.

Now that table configuration is done, let’s see how to populate it with data.

Collapsed design option

It is advised to use collapsed option when table is over 6 columns, other part of the table might exceed the page and will not be displayed. Please test your configuration prior to deployment in production.

Known issue for rendering to PDF: Wrapping table border may exceed on page break

Populate Table with an API

Normally, when session is created via API, you are able to inject values into form fields. Table can also be populated with values by accepting Array of Arrays. In this example we will inject data into orders table. We have configured a four columns table: Order ID, Name, Amount and Shipped, so the value for inject could be as in this example:

[
 ["KL-12345-A","Disk on key Type-A","$15.23","Yes"],
 ["RR-87778-F","Wireless headset","","Yes"],
 ["JF-99087-D","Mechanic keyboard","$45.17","Yes"]
]

Note that we have not included Amount on the second row. This should be populated by the default value.

For security reasons, you will need to Stringify this value, so eventually injecting table dataset to API should look like the following:

{
	"template": {
		"id": "your-template-id"
	},
	"initial": {
		"Orders": "[[\"KL-12345-A\",\"Disk on key Type-A\",\"$15.23\",\"Yes\"],[\"RR-87778-F\",\"Wireless headset\",\"\",\"Yes\"],[\"JF-99087-D\",\"Mechanic keyboard\",\"$45.17\",\"Yes\"]]"
	}
}

Inside the form our table will be displayed like so:

Populate a Table via Connector

Populating a table with a connector is more flexible then populating with an API. With connectors, tables can be populated dynamically with real time data from your database and also in response to user engagement with the form.

For example, lets assume that on our Salesforce application we have Account table Contact table. Each Account may have one or more contacts. We would like to display list of contacts per account.

**** and remote client will insert his Account ID, in return orders table will be populated automatically with open orders. when clicking on an order row, a subsequent table or set of fields will display the order items for further engagement.****

Let’s see how this is done.

First we need to configure a table. Same as above, for API that includes contact name, phone and mailing address

Next. On template studio, click on Integrations, then Connectors. (See reference for connectors for more details)

Let’s add a LIVE connector that would lookup on Contacts object.

Note that we have configured “Select multiple records” when query result yields more than one record. In this case we want to apply multiple records to the table.

Note that lookup is triggered when user “Change” account ID field, in response “Contacts” table in form will be populated with values from “Contacts” table. When Form field of type “Table” is selected for mapping, the connector will display the entire column set for mapping.

Notes

  1. Make sure to build your table with minimal columns, otherwise the reminder of your table may end up with not visible both on form and PDF result.
  2. Header and Footer row are not archived back and will displayed only on the result PDF.

Leave a Comment

Share this Doc

Table

Or copy link

CONTENTS