UNPKG

patternfly

Version:

This reference implementation of PatternFly is based on [Bootstrap v3](http://getbootstrap.com/). Think of PatternFly as a "skinned" version of Bootstrap with additional components and customizations.

39 lines (29 loc) 1.05 kB
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="ajax" order="14"> <css lib="datatables colreorder" /> <js lib="jquery datatables colreorder"> <![CDATA[ $(document).ready(function() { $('#example').dataTable( { dom: 'Rlfrtip', processing: true, serverSide: true, ajax: "../../../examples/server_side/scripts/objects.php", columns: [ { data: "first_name" }, { data: "last_name" }, { data: "position" }, { data: "office" }, { data: "start_date" }, { data: "salary" } ] } ); } ); ]]> </js> <title lib="ColReorder">Server-side processing</title> <info><![CDATA[ Server-side processing can be exceptionally useful in DataTables when dealing with massive data sets, and ColReorder works with this as would be expected. It is recommend that you use object based data with server-side processing and ColReorder, as this provides easily understandable mapping between the the columns and the data relation on the server, otherwise you need to work out array indexes on each call! ]]></info> </dt-example>