File: demos/startbootstrap-sb-admin-2/bower_components/datatables-responsive/examples/initialisation/ajax.xml

Recommend this page to a friend!
  Classes of Emmanuel Podvin   Blapy   demos/startbootstrap-sb-admin-2/bower_components/datatables-responsive/examples/initialisation/ajax.xml   Download  
File: demos/startbootstrap-sb-admin-2/bower_components/datatables-responsive/examples/initialisation/ajax.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change: Update of demos/startbootstrap-sb-admin-2/bower_components/datatables-responsive/examples/initialisation/ajax.xml
Date: 3 years ago
Size: 913 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="ajax" table-class="display responsive nowrap" order="4"> <css lib="datatables responsive"> div.container { max-width: 1200px } </css> <js lib="jquery datatables responsive"> <![CDATA[ $(document).ready(function() { $('#example').DataTable( { "ajax": "../../../../examples/ajax/data/objects.txt", "columns": [ { "data": "name" }, { "data": "position" }, { "data": "office" }, { "data": "extn" }, { "data": "start_date" }, { "data": "salary" } ] } ); } ); ]]> </js> <title lib="Responsive">Ajax data</title> <info><![CDATA[ This example shows the Responsive extension working with [Ajax sourced data](//datatables.net/manual/data) in the DataTable. Note that no special initialisation is required. Responsive is enabled by adding the `-string responsive` class to the `-tag table` element. ]]></info> </dt-example>