Sha256: 7a9a510731b28238ac46a4e8f648c63b7bc6b9691ad4fdd1449dce6ed90581e3

Contents?: true

Size: 835 Bytes

Versions: 2

Compression:

Stored size: 835 Bytes

Contents

<?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-type="html" order="12">

<css lib="jqueryui datatables-jqueryui colvis-jqueryui" />
<js lib="jquery datatables datatables-jqueryui colvis">
<![CDATA[
$(document).ready(function() {
	var table = $('#example').DataTable( {
		jQueryUI: true
	} );
	var colvis = new $.fn.dataTable.ColVis( table );

	$( colvis.button() ).insertBefore('div.dataTables_length');
} );
]]>
</js>

<title lib="ColVis">jQuery UI styling</title>

<info><![CDATA[

This example shows how the jQuery UI ThemeRoller option in DataTables can be used with ColVis.

The important thing to note here is that it is easier to use `new $.fn.dataTable.ColVis()` to add ColVis to the table rather than `dt-init dom` as the jQuery UI integration uses a complex expression for `dt-init dom`.

]]></info>

</dt-example>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
radius-rails-3.1.4 app/assets/components/datatables-colvis/examples/jqueryui.xml
patternfly-sass-1.2.0 tests/components/datatables-colvis/examples/jqueryui.xml