Portlet Factory, Version 6.1.2


 

Allowing the HTML page to determine the elements to display in the table and the table's appearance

Follow these steps to allow the HTML page to determine the elements to display in the table and the table's appearance.

  1. Include all the code for the table in the HTML page. For example, the following HTML specifies a header row followed by a data row that gets repeated for each repeated element in the data:
    <table name="customers">
    <tr><th>Name</th><th>ID</th></tr>
    <tr name="customer"><td><span name="name"></span></td><td><span name="id"></span></td></tr>
    </table>

    Note: This HTML also removes the <phone_number /> element from the table. Any data that matches the named <span /> or <input /> tags in the HTML will be displayed.

  2. In a Data Page builder call, disable the Make UI from Data input.

Parent topic: Using tables in forms


Library | Support |