1c29754f870c9641ec3f20b86da531e677305b19
FAQ/Questions/collapse-filter-panel-on-load.md
| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | +#Displaying Filters In Report Viewer |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +##Question |
|
| 6 | +How can I default the filter panel to closed when a user accesses the Report Viewer? |
|
| 7 | + |
|
| 8 | +##Answer |
|
| 9 | + |
|
| 10 | +To default Filters in Report Viewer to closed on load of page use the following code in ReportViewer-Body.ascx. The user will need to click on the Filter Tab in the viewer to expand the filter panel and see the filters. |
|
| 11 | + |
|
| 12 | +```javascript |
|
| 13 | +jq$('#tab1li').removeClass('active'); |
|
| 14 | +jq$('#tab1').hide(); |
|
| 15 | +jq$('#updateBtnPC').show(); |
|
| 16 | +``` |
|
| ... | ... | \ No newline at end of file |