a7900e3828bff6ddc50faa194bd8a32435f3855f
API/CodeSamples/Javascript/StickyCheckboxes.md
| ... | ... | @@ -0,0 +1,33 @@ |
| 1 | +#StickyCheckboxes |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +##About |
|
| 6 | +Sticky Checkboxes is a feature where selected checkboxes will float to the top of the selection. For example, If our list of checkboxes looks like this: |
|
| 7 | + |
|
| 8 | +* [ ] Value A |
|
| 9 | +* [ ] Value B |
|
| 10 | +* [ ] Value C |
|
| 11 | +* [ ] Value D |
|
| 12 | + |
|
| 13 | +And we select values A and D, instead of this: |
|
| 14 | + |
|
| 15 | +* [X] Value A |
|
| 16 | +* [ ] Value B |
|
| 17 | +* [ ] Value C |
|
| 18 | +* [X] Value D |
|
| 19 | + |
|
| 20 | +We would instead get this: |
|
| 21 | + |
|
| 22 | +* [X] Value A |
|
| 23 | +* [X] Value D |
|
| 24 | +* [ ] Value B |
|
| 25 | +* [ ] Value C |
|
| 26 | + |
|
| 27 | +Simply replace or merge the file Root/Resources/js/ReportViewerFilters.js with the code linked below. |
|
| 28 | + |
|
| 29 | +##Link |
|
| 30 | + |
|
| 31 | + |
|
| 32 | + |
|
| 33 | + |