Sha256: 63e808b8741258d1e1a4e2bd6fddee17b3f2514db842b17bf442b104d5ef7360

Contents?: true

Size: 924 Bytes

Versions: 2

Compression:

Stored size: 924 Bytes

Contents

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

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

	$( colvis.button() ).insertAfter('div.info');
} );
]]>
</js>

<title lib="ColVis">`new` initialisation</title>

<info><![CDATA[

As well as providing the option to be initialised through the `C` option of `dt-init dom`, ColVis can also be added to a DataTable using direct initialisation - `new $.fn.dataTable.ColVis();` as shown in this example. The ColVis control button it available through its `button()` method, which can then be used to attach to the document where you need.

For full information about the ColVis API, please refer to the [ColVis API documentation](//datatables.net/extensions/colvis/api).

]]></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/new_init.xml
patternfly-sass-1.2.0 tests/components/datatables-colvis/examples/new_init.xml