more G-Labs products

Author Topic: Group redirect  (Read 437 times)

June 30, 2016, 03:06:44 PM
Read 437 times

JoKy

  • *
  • Information
  • Newbie
  • Posts: 1
Hi,
I configured widget for "room status" summary. The idea is to have summary sheet for every room devices together.
If I click on room name I would be navigated to "room dashboard" (separate group page).

Please can anybody help me or give me some hint how to get correct link (or script) to "jump" from one "group page" to another ?

Thank you


June 30, 2016, 05:12:19 PM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Code: [Select]
var groupIndex = 0; // show the first control group
HG.WebApp.Control.ShowGroup(groupIndex);
// the following is only needed if request is coming from a page different than the control page
$.mobile.pageContainer.pagecontainer('change', '#page_control', { transition: 'none' });