Skip to main content
Skip table of contents

How to use an AUI table for the query result

  1. Go to the PocketQuery Administration

  2. Go to "Templates" and click on "Add template"

  3. Name it "AUI" and copy & paste following code into "content"

    CODE
    <div class="table-wrap">
        <table class="aui">
            <thead>
                <tr>
                #foreach ($column in $columns)
                    <th>$!column</th>
                #end
                </tr>
            </thead>
             
            <tbody>
                #foreach ($row in $result)
                    <tr>
                    #foreach ($column in $row)
                        <td>$!column</td>
                    #end
                    </tr>
                #end
            </tbody>
        </table>
    </div>
  4. Go to a query and select "AUI" as template


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.