effective_datatables 4.27.0 → 4.29.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 533211d85df05ceea724f478a28537a9be1b1b4a18eb2e6fb3bec843236eaacb
|
4
|
+
data.tar.gz: b521d06e9fb1cbb97d28eb693b6632d6891163b1eecf7c56472ede6989231f0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 709fd46784b74c1906c4dddb140c61453ddbf88057f3176ffb6872b26e2333977f48db5d28e2604bf8a96ba826749962e3d7ec4c6f0060fd927a7a8f23adedc4
|
7
|
+
data.tar.gz: '08d88ac7aa0ad5f93ca003c044aa6cdd8ae6f42ff10755aacad27a327b0334411f7c0e652b3fe58299666d34bc4d6ca04bf2eefa689653eea12336fcf8b9b5b4'
|
@@ -15,6 +15,13 @@ initializeDataTables = (target) ->
|
|
15
15
|
ajax: { url: datatable.data('source'), type: 'POST' }
|
16
16
|
autoWidth: false
|
17
17
|
buttons: [
|
18
|
+
{
|
19
|
+
extend: 'copy',
|
20
|
+
exportOptions:
|
21
|
+
format:
|
22
|
+
header: (str) -> $("<div>#{str}</div>").children('span').first().text()
|
23
|
+
columns: buttons_export_columns
|
24
|
+
},
|
18
25
|
{
|
19
26
|
extend: 'csv',
|
20
27
|
text: 'Snapshot',
|
@@ -31,14 +38,6 @@ initializeDataTables = (target) ->
|
|
31
38
|
{ extend: 'colvisGroup', text: 'Show default', hide: ':not(.colvis-default)', show: '.colvis-default' }
|
32
39
|
]
|
33
40
|
}
|
34
|
-
# {
|
35
|
-
# extend: 'copy',
|
36
|
-
# exportOptions:
|
37
|
-
# format:
|
38
|
-
# header: (str) -> $("<div>#{str}</div>").children('span').first().text()
|
39
|
-
# columns: buttons_export_columns
|
40
|
-
# },
|
41
|
-
|
42
41
|
# {
|
43
42
|
# extend: 'print',
|
44
43
|
# footer: true,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_datatables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|