PageSourceSearch

http://ehshomepage.com/js/tables/examples.datatables.tabletools.js

js ehshomepage.com collected 2026-09-29 15:09:11 UTC 851 bytes, 49 lines download raw bytes

1/*
2Name: 			Tables / Advanced - Examples
3Written by: 	Okler Themes - (http://www.okler.net)
4Theme Version: 	1.7.0
5*/
6
7(function($) {
8
9	'use strict';
10
11	var datatableInit = function() {
12		var $table = $('#datatable-tabletools');
13
14		$table.dataTable({
15			sDom: "<'text-right mb-md'T>" + $.fn.dataTable.defaults.sDom,
16			oTableTools: {
17				sSwfPath: $table.data('swf-path'),
18				aButtons: [
19					{
20						sExtends: 'pdf',
21						sButtonText: 'PDF'
22					},
23					{
24						sExtends: 'csv',
25						sButtonText: 'CSV'
26					},
27					{
28						sExtends: 'xls',
29						sButtonText: 'Excel'
30					},
31					{
32						sExtends: 'print',
33						sButtonText: 'Print',
34						sInfo: 'Please press CTR+P to print or ESC to quit'
35					}
36				]
37			}
38		});
39		
40		
41		
42
43	};
44
45	$(function() {
46		datatableInit();
47	});
48
49}).apply(this, [jQuery]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.