1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-12 19:36:41 +02:00

Added the load-filters-on-demand demo page

This commit is contained in:
Max Guglielmi 2015-06-19 16:36:15 +10:00
parent 7b53f8eb33
commit f1c55edf62
3 changed files with 13070 additions and 2638 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,41 @@
<!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 drop-down 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",
"70px", "70px", "70px",
"70px", "60px", "60px"
],
alternate_rows: true,
rows_counter: true,
btn_reset: true,
status_bar: true,
fill_slc_on_demand: 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>