effective_datatables 2.2.4 → 2.2.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29d708cc6cd71ab90dc58e84f0e688bfb4cb8dc7
|
4
|
+
data.tar.gz: b825b5d8e67b4eb321e96fe70f795163ab003f60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d031003fe9762338e1160bfc7190c87e3b83e7edb6e7679e00070c2125b4c7f3a53decdb4972b3da8e9851ad673ec7a320f5d2f9dde0d9d550c55aa186b3388d
|
7
|
+
data.tar.gz: db6da2d5eb3af6ea3fa8ae8af4d3e951c3c8449cce2b70eb627c40e180de5630166b5b3a27fd3404b36356e4f907e2374acccf0e11a7a6c762697553180d1a3c
|
@@ -22,28 +22,28 @@ initializeDataTables = ->
|
|
22
22
|
extend: 'copy',
|
23
23
|
exportOptions:
|
24
24
|
format:
|
25
|
-
header: (str) ->
|
25
|
+
header: (str) -> $("<div>#{str}</div>").children('.filter-label').first().text()
|
26
26
|
columns: ':visible:not(.col-actions)'
|
27
27
|
},
|
28
28
|
{
|
29
29
|
extend: 'csv',
|
30
30
|
exportOptions:
|
31
31
|
format:
|
32
|
-
header: (str) ->
|
32
|
+
header: (str) -> $("<div>#{str}</div>").children('.filter-label').first().text()
|
33
33
|
columns: ':visible:not(.col-actions)'
|
34
34
|
},
|
35
35
|
{
|
36
36
|
extend: 'excel',
|
37
37
|
exportOptions:
|
38
38
|
format:
|
39
|
-
header: (str) ->
|
39
|
+
header: (str) -> $("<div>#{str}</div>").children('.filter-label').first().text()
|
40
40
|
columns: ':visible:not(.col-actions)'
|
41
41
|
},
|
42
42
|
{
|
43
43
|
extend: 'print',
|
44
44
|
exportOptions:
|
45
45
|
format:
|
46
|
-
header: (str) ->
|
46
|
+
header: (str) -> $("<div>#{str}</div>").children('.filter-label').first().text()
|
47
47
|
columns: ':visible:not(.col-actions)'
|
48
48
|
},
|
49
49
|
]
|
@@ -24,7 +24,7 @@ module EffectiveDatatablesHelper
|
|
24
24
|
datatable.table_columns.map do |name, options|
|
25
25
|
{
|
26
26
|
name: options[:name],
|
27
|
-
title: options[:label],
|
27
|
+
title: content_tag(:span, options[:label], class: 'filter-label'),
|
28
28
|
className: options[:class],
|
29
29
|
width: options[:width],
|
30
30
|
responsivePriority: (options[:responsivePriority] || 10000), # 10,000 is datatables default
|
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: 2.2.
|
4
|
+
version: 2.2.5
|
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: 2015-12-
|
11
|
+
date: 2015-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|