1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-09 09:56:40 +02:00
TableFilter/static/templates/load-filters-on-demand.html
2018-06-16 00:21:26 +10:00

43 lines
996 B
HTML

<!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>
The filter options are loaded only when used for the first time.
</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: [
'150px', '100px', '100px',
'100px', '100px', '100px',
'90px', '90px', '90px'
],
alternate_rows: true,
rows_counter: true,
btn_reset: true,
status_bar: true,
load_filters_on_demand: true,
sticky_headers: true,
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>