1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-17 22:06:41 +02:00
TableFilter/static/templates/linked-filters-disabled.html
2015-06-13 21:23:33 +10:00

57 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>{NAME} v{VERSION} - Linked filters Demo</title>
<!-- @import partials/style.html -->
</head>
<body>
<h1>{NAME} v{VERSION}</h1>
<h2>Linked filters with disabled options demo</h2>
<p>
This demo features the refresh filters behaviour. In this mode, the
drop-down filters are linked and if the
<code>disable_excluded_options</code> is enabled, the invalid options in the
linked filters are simply greyed-out.
</p>
<p>
This feature was suggested by
<a href="http://www.zehnplus.ch" target="_blank">zehnplus</a>.
</p>
<!-- @import partials/pre.html -->
<!-- @import partials/countries-by-continent.html -->
<!-- @import partials/tablefilter-script.html -->
<script data-config>
var filtersConfig = {
base_path: '../dist/tablefilter/',
linked_filters: true,
disable_excluded_options: true,
col_1: 'multiple',
col_2: 'checklist',
col_widths: [
'60px', '160px', '160px',
'85px', '70px', '270px'
],
btn_reset: true,
display_all_text: '< Clear >',
alternate_rows: true,
rows_counter: true,
enable_default_theme: true,
extensions:[{
name: 'sort',
types: [
'number', 'string', 'string',
'US', 'none', 'string'
]
}]
};
var tf = new TableFilter('demo', filtersConfig);
tf.init();
</script>
<!-- @import partials/pre-inline-script.html -->
</body>
</html>