Re: Datatables
Posted by
philippeback on
Dec 05, 2015; 2:10pm
URL: https://forum.world.st/Datatables-tp4865269p4865488.html
I have used this datatable package in Seaside in my app.
MCSmalltalkhubRepository
owner: 'GastonDallOglio'
project: 'DataTables'
user: ''
password: ''
For the examples, looking at the Datatables JS API was helpful. The version was the older one.
You can use it like this (there is some bootstrap mixed in)
html tbsTable
beStriped;
beHover;
script: ((html jQuery new dataTable) bFilter: false; bPaginate: false; bInfo: false);
class: 'table-responsive';
with: [
html tableHead with: [
html tableHeading with: 'ID' seasideTranslated .
html tableHeading with: 'MAC' seasideTranslated .
html tableHeading with: 'IP' seasideTranslated .
html tableHeading with: 'Status' seasideTranslated
].
....