mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-23 16:52:26 +02:00
26 lines
555 B
JavaScript
26 lines
555 B
JavaScript
|
|
||
|
// requirejs.config({
|
||
|
// baseUrl: '../dist/libs',
|
||
|
// paths: {
|
||
|
// tf: '.'
|
||
|
// }
|
||
|
// });
|
||
|
|
||
|
requirejs(['core'], function(TableFilter){
|
||
|
// Your logic here
|
||
|
var tf = new TableFilter("demo", {
|
||
|
col_0: 'select',
|
||
|
col_3: 'checklist',
|
||
|
base_path: './',
|
||
|
enable_default_theme: true,
|
||
|
paging: false,
|
||
|
alternate_rows: true,
|
||
|
highlight_keywords: true,
|
||
|
match_case: false,
|
||
|
remember_grid_values: true,
|
||
|
btn_reset: true,
|
||
|
grid_layout: false
|
||
|
});
|
||
|
|
||
|
tf.init();
|
||
|
});
|