effective_datatables 4.27.0 → 4.28.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: dd87ac5079fa518fdc3c9950d5f998a49a391be1acb4c1bda843b63396457c49
|
4
|
+
data.tar.gz: 7be54cba3747f6f5959169ab2948f7d4661d8be2aeee27f67ab9c3555d1679ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 229acdb52df7be9a8fc670eaabbb5886da426f2b152002d8b775bcbb269c38ad289d208e9efe6f366cb36d2f9191fd8d8c4e97a69f580d6b2eece63d55f1461b
|
7
|
+
data.tar.gz: 373054322bf303ce7f6b4ef15aa5de4a034db4a19c219734e645bb430f69f8b5e810b7b6219080e946dc9b13a2e4534a4b42a15f3f2797254764f9b16793d008
|
@@ -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.28.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-05-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|