Dear team!
I have a task: "Automatically toggle row/column and auto-hide the parameter section when opening the report!"
Do I need to customize CSS, or is there any default function/option for this?
Thanks team!
Dear team!
I have a task: "Automatically toggle row/column and auto-hide the parameter section when opening the report!"
Do I need to customize CSS, or is there any default function/option for this?
Thanks team!
The parameter section is hidden by default. It is shown when you use the dbr.parameters.show
command.
You can toggle the rows/columns with dbr.toggle
-command and set the default state with JavaScript. See the documentation.
--
myDBR Team
Thanks team!
JavaScript I am using:
SELECT 'dbr.javascript', '
$(document).ready(function() {
$(''.rowbutton'')[0].click();
$(''.colbutton'')[0].click();
});';
Best regards:
vannc
Dear team!
After using the above code, it automatically toggles the row/column and auto-hides the parameter section when opening the report, and the Sparkline works fine. However, when I click the button again, the Sparkline works incorrectly, only showing in the acc_header row.
Thanks team!
Oh, I know that. The sparkline has not finished loading yet.
You must log in to post.