Skip to content

Instantly share code, notes, and snippets.

@foxrtb foxrtb/example
Created Sep 28, 2018

Embed
What would you like to do?
<table id="myTable"
class="table table-striped"
data-url="http://localhost:3000/mnlist.json"
data-pagination="true"
data-page-size="30"
data-page-list="[30,60,90,all]"
data-search="true"
data-striped="true"
data-click-to-select="true"
data-sort-name="lastpaidtime"
data-sort-order="desc"
data-cookie="true"
data-cookie-id-table="saveId"
data-toolbar="#toolbar"
data-searchable="true"
data-toggle="table" >
<thead>
<tr>
<th data-sortable="true" data-field="paymentposition" >Queue#</th>
<th data-sortable="true" data-field="ip" data-formatter="trimFormatter">IP</th>
<th data-sortable="true" data-field="protocol">Protocol</th>
<th data-sortable="true" data-field="status">Status</th>
<th data-sortable="true" data-field="payee" data-formatter="url_formatter">Payee</th>
<th data-sortable="true" data-field="lastpaidtime" data-formatter="dateLastPaymentFormat">Last Payment</th>
<th data-field="activeseconds" data-formatter="dateActiveFormat">Active Time</th>
<th data-sortable="true" data-field="lastseen" data-formatter="dateLastSeenFormat">Last Seen</th>
</tr>
</thead>
</table>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.