File tree Expand file tree Collapse file tree 7 files changed +245
-194
lines changed
ReportViewer.NET.Web/wwwroot Expand file tree Collapse file tree 7 files changed +245
-194
lines changed Original file line number Diff line number Diff line change 16
16
overflow : hidden;
17
17
}
18
18
19
- .reportparam-date , .reportparam-string , .reportparam-boolean {
20
- display : inline-flex;
21
- max-height : 35px ;
19
+ .reportparam-date , .reportparam-string , .reportparam-boolean {
22
20
margin-left : 0.5rem ;
23
21
}
24
22
23
+ .reportparam-boolean {
24
+ display : flex;
25
+ }
26
+
27
+ .reportparam-boolean .custom-checkbox {
28
+ align-content : end;
29
+ }
30
+
25
31
.reportparam-date input , .reportparam-string input {
26
- width : auto;
27
- margin-left : 0.5rem ;
32
+ width : auto;
28
33
}
29
34
30
35
.reportparam-list-select {
49
54
height : 150px ;
50
55
}
51
56
57
+ .reportparam-list-dropdown .open {
58
+ position : absolute;
59
+ border-color : darkgray;
60
+ border-width : 1px ;
61
+ border-style : solid;
62
+ background-color : # ffffff ;
63
+ z-index : 1 ;
64
+ }
65
+
66
+ .reportparam-list-dropdown .open .custom-checkbox {
67
+ margin-left : 0.25rem ;
68
+ }
69
+
52
70
.reportparam-list-selectall {
53
71
background-color : transparent;
54
72
border : none;
Original file line number Diff line number Diff line change 108
108
$ ( '.report-viewer .reportparameters-container' ) . on ( "click" , function ( e ) {
109
109
let load = false ;
110
110
111
+ if ( e . target !== e . currentTarget ) {
112
+ return ;
113
+ }
114
+
111
115
$ . each ( paramLists , function ( idx , list ) {
112
116
let dropdownContainers = $ ( list ) . find ( '.reportparam-list-dropdown[class*="open"]' ) ;
113
117
119
123
}
120
124
} ) ;
121
125
} ) ;
122
-
123
- if ( load ) {
126
+
127
+ if ( load || paramLists . length === 0 ) {
124
128
self . postReportParameters ( ) ;
125
129
}
126
130
} ) ;
Original file line number Diff line number Diff line change 16
16
overflow : hidden;
17
17
}
18
18
19
- .reportparam-date , .reportparam-string , .reportparam-boolean {
20
- display : inline-flex;
21
- max-height : 35px ;
19
+ .reportparam-date , .reportparam-string , .reportparam-boolean {
22
20
margin-left : 0.5rem ;
23
21
}
24
22
23
+ .reportparam-boolean {
24
+ display : flex;
25
+ }
26
+
27
+ .reportparam-boolean .custom-checkbox {
28
+ align-content : end;
29
+ }
30
+
25
31
.reportparam-date input , .reportparam-string input {
26
- width : auto;
27
- margin-left : 0.5rem ;
32
+ width : auto;
28
33
}
29
34
30
35
.reportparam-list-select {
49
54
height : 150px ;
50
55
}
51
56
57
+ .reportparam-list-dropdown .open {
58
+ position : absolute;
59
+ border-color : darkgray;
60
+ border-width : 1px ;
61
+ border-style : solid;
62
+ background-color : # ffffff ;
63
+ z-index : 1 ;
64
+ }
65
+
66
+ .reportparam-list-dropdown .open .custom-checkbox {
67
+ margin-left : 0.25rem ;
68
+ }
69
+
52
70
.reportparam-list-selectall {
53
71
background-color : transparent;
54
72
border : none;
Original file line number Diff line number Diff line change 108
108
$ ( '.report-viewer .reportparameters-container' ) . on ( "click" , function ( e ) {
109
109
let load = false ;
110
110
111
+ if ( e . target !== e . currentTarget ) {
112
+ return ;
113
+ }
114
+
111
115
$ . each ( paramLists , function ( idx , list ) {
112
116
let dropdownContainers = $ ( list ) . find ( '.reportparam-list-dropdown[class*="open"]' ) ;
113
117
119
123
}
120
124
} ) ;
121
125
} ) ;
122
-
123
- if ( load ) {
126
+
127
+ if ( load || paramLists . length === 0 ) {
124
128
self . postReportParameters ( ) ;
125
129
}
126
130
} ) ;
You can’t perform that action at this time.
0 commit comments