2015-06-19 08:36:15 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>{NAME} v{VERSION} - Load filters on demand Demo</title>
|
|
|
|
<!-- @import partials/style.html -->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>{NAME} v{VERSION}</h1>
|
|
|
|
<h2>Load filters on demand demo</h2>
|
|
|
|
<p>
|
2015-07-14 14:36:24 +02:00
|
|
|
The filter options are loaded only when used for the first time.
|
2015-06-19 08:36:15 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<!-- @import partials/pre.html -->
|
|
|
|
<!-- @import partials/countries-table.html -->
|
|
|
|
|
|
|
|
<!-- @import partials/tablefilter-script.html -->
|
|
|
|
<script data-config>
|
|
|
|
var tfConfig = {
|
|
|
|
base_path: '../dist/tablefilter/',
|
|
|
|
col_widths: [
|
2015-09-20 10:42:00 +02:00
|
|
|
'150px', '100px', '100px',
|
2018-06-15 16:21:26 +02:00
|
|
|
'100px', '100px', '100px',
|
|
|
|
'90px', '90px', '90px'
|
2015-06-19 08:36:15 +02:00
|
|
|
],
|
|
|
|
alternate_rows: true,
|
|
|
|
rows_counter: true,
|
|
|
|
btn_reset: true,
|
|
|
|
status_bar: true,
|
2015-09-20 10:42:00 +02:00
|
|
|
load_filters_on_demand: true,
|
2018-06-15 16:21:26 +02:00
|
|
|
sticky_headers: true,
|
2015-06-19 08:36:15 +02:00
|
|
|
col_0: 'multiple',
|
|
|
|
col_1: 'select',
|
|
|
|
col_2: 'checklist'
|
|
|
|
};
|
|
|
|
|
|
|
|
var tf = new TableFilter('demo', tfConfig);
|
|
|
|
tf.init();
|
|
|
|
</script>
|
|
|
|
<!-- @import partials/pre-inline-script.html -->
|
|
|
|
</body>
|
|
|
|
</html>
|