This topic is locked
[SOLVED]

Displaying a dashboard with many elements in a tabulated fashion?

4/12/2024 12:25:05 PM
ASPRunner.NET General questions
D
david powell author

I am successfully using a dashboard to show data from multiple different views/tables - but i have many elements on one dashboard makes seeing where you are a bit tricky, and they have to be quite small.

I realise i could have multiple different dashboards, but I would prefer to have all the data on one screen.

Is there any way to insert a tab component on to a dashboard, and place each element in a tab?

I have looked for a nice 'insert tab' option on dashboards but it isnt there.....

The other alternative I have tried is having the 'top' element on the screen as no more than aseries of buttons - in an attempt to create a 'virtual' tabbed appearance, by making each button show one element and hide the rest - but I havent been able to make an element hide programmatically.

Has anyone done anything like this, or any ideas as to how to manage a busy dashboard?
David

Sergey Kornilov admin 4/12/2024
D
david powell author 4/13/2024

That looks perfect, thank you.
I have replicated the code, am displaying the empty panel, but it is not moving the elements.

Can I check the code for the snippet is correct - in the PHP section if identifies the panel as 'dashTabs' but the ASP code is a little odd, and does not set the panel ID.

I have set the ID for the snippet in the designer view to 'dashTabs', to no avail.

This is the ASP code on the help sheet:
C#
[csharp]
header = new XVar(“Tabs”);
MVCFunctions.Echo(“

\r\n
\r\n
\r\n
\r\n

\r\n

\r\n
\r\n
\r\n

\r\n

“);
[/csharp]

D
david powell author 4/14/2024

Thanks admin - link now displays correct code for the asprunner.net snippet.

Works perfectly.