mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-29 10:50:51 +02:00
46 lines
1,014 B
HTML
46 lines
1,014 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{NAME} v{VERSION} - Filters Visibility Extension Demo</title>
|
|
<!-- @import partials/style.html -->
|
|
</head>
|
|
<body>
|
|
<h1>{NAME} v{VERSION}</h1>
|
|
<h2>Filters visibility extension demo</h2>
|
|
<p>
|
|
This demo features the filters visibility extension.
|
|
</p>
|
|
|
|
<!-- @import partials/pre.html -->
|
|
<!-- @import partials/countries-by-continent.html -->
|
|
|
|
<!-- @import partials/tablefilter-script.html -->
|
|
<script data-config>
|
|
var tfConfig = {
|
|
base_path: '../dist/tablefilter/',
|
|
col_1: 'multiple',
|
|
col_2: 'checklist',
|
|
col_widths: [
|
|
'75px', '200px', '200px',
|
|
'100px', '75px', ''
|
|
],
|
|
paging: true,
|
|
alternate_rows: true,
|
|
rows_counter: true,
|
|
btn_reset: true,
|
|
loader: true,
|
|
status_bar: true,
|
|
extensions: [{
|
|
name: 'filtersVisibility',
|
|
visible_at_start: false
|
|
}]
|
|
};
|
|
|
|
var tf = new TableFilter('demo', tfConfig);
|
|
tf.init();
|
|
</script>
|
|
|
|
<!-- @import partials/pre-inline-script.html -->
|
|
</body>
|
|
</html>
|