Documentation

/ Structure

Creative Table outputs a table with all the necessary search and multi-search boxes, items per page and actions select box, and with the pager buttons, like this:

The generated code have this structure

Corresponding to this abstract HTML structure with the default id ('ct'):

<form id="ct_form">
  <input type="hidden" id="ct_items_per_page">
  <input type="hidden" id="ct_sort">
  <input type="hidden" id="ct_page">
  <input type="hidden" id="ct_total_items">

  <div id="search_container">
    <input id="ct_search" />
  </div>

  <div id="ct_items_per_page_container">
    <select id="ct_items_per_page_change"></select>
  </div>

  <table id="ct" class="">
    <thead>
      <tr id="ct_sort">
        <th></th>
      </tr>
      <tr id="ct_multiple_search">
        <th><input id="ct_multiple_search1" /></th>
      </tr>
    </thead>
    <tbody>
      <tr class="odd">
        <td></td>
      </tr>
      <tr class="even">
        <td></td>
      </tr>
    </tbody>
  </table>

  <div id="ct_actions_container">
    <select id="ct_actions"></select>
  </div>

  <div id="ct_pager_container">
    ...
  </div>

</form>