This topic is locked
[SOLVED]

Lets rephrase the previous one : how do I hide a dashboard element/panel on page load.

10/7/2024 3:54:27 AM
PHPRunner General questions
D
DUKE author

I have a dashboard with multiple elements. Ids are named panel1, panel2,panel3.

How do I use javascript on load to hide panel2 and panel3?

J
jacktonghkDevClub member 10/7/2024
D
DUKE author 10/8/2024

Hi,

I have tried this but with the same issue where the element gets hidden partially.

C
cristi 10/9/2024

Let's rephrase:

  • what do you mean by partially? - can you provide at least a screenshot and your code or is it highly confidential?
  • are your dashboard elements just for display some data & statistics, do they have add, edit, delete functionality?

Sergey Kornilov admin 10/9/2024

I was going to ask the same thing, "element gets hidden partially" doesn't make much sense to me or anyone else. Probably it would help to post your exact code and screenshots.

D
DUKE author 10/11/2024

Hi Everyone,

Sorry I am only getting back now.

I solved my problem. I used the following example:

https://xlinesoft.com/blog/2023/08/22/tabbed-elements-in-dashboards/

Tabbed elements in dashboards.

It was not 100% what I needed but gave me some additional options that I could use.