Announcement

Collapse
No announcement yet.

refresh widget in dashboard

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • refresh widget in dashboard

    Hello,

    I have 2 widgets in a Dashboard: Widget1 and Widget2 each contains a grid app .
    I would like to refresh Widget2 when I change something in Widget1

    Somebody knows how to do that ?

    Thanks in advance
    Nac
    sc v8.1

  • #2
    Not in SC8, I think you need to assign the right iframe by javascript somehow. In SC9 there's a sample for it: http://www.scriptcase.net/sistemas/v...ard_orders.php I must be honest though, the sample works, but I couldn't get it running in my own application starting with a grid...
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks Albert

      I don't know how to that in javascript , I will try to found an example on the net

      Comment


      • #4
        Originally posted by nacyil View Post
        Hello,

        I have 2 widgets in a Dashboard: Widget1 and Widget2 each contains a grid app .
        I would like to refresh Widget2 when I change something in Widget1

        Somebody knows how to do that ?

        Thanks in advance
        Nac
        sc v8.1

        I had same problem and my workaround was kind of a cheat but it worked for me. It may not work for you since it updates the whole dashboard, but for me it does not matter. I simply call the whole dashboard program again after update.

        Dr Tim

        Comment


        • #5
          Thanks Dr Tim,

          Yes, it's a solution but it refresh the 2 widgets and it's not what I want.
          If I find the name of the widgets in javascript or the the session name , I think I can get a solution

          Comment

          Working...
          X