cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

wwang-21
1-Visitor

grid

Hi,everybody

     How to make the data in the grid automatically refresh every few seconds?

Yours

ACCEPTED SOLUTION

Accepted Solutions
supandey
19-Tanzanite
(To:wwang-21)

Hi WangNi, you can use the Auto Refresh widget, here are the steps:

1. Bind the service getting all the data for your Grid Widget

2. Drag and drop the Auto Refresh widget on the mashup, and bind it's Refresh event to the service getting all the data for your Grid something like this

3. If you don't want to show the auto refresh widget on the mashup you can disable it's visibility from the Widget properties section

As you can see default value for auto refresh is set to 30 secs you can change as per your requirement. Chain of events will be something like this that once the auto refresh refreshes itself Refresh event will be fired which is tired to the service getting all the values so it be fired again to fetch the values so here's how the overview looks like for the GetPropertyValues which i used in my sample mashup to show this

Hope this helps.

View solution in original post

4 REPLIES 4
supandey
19-Tanzanite
(To:wwang-21)

Hi WangNi, you can use the Auto Refresh widget, here are the steps:

1. Bind the service getting all the data for your Grid Widget

2. Drag and drop the Auto Refresh widget on the mashup, and bind it's Refresh event to the service getting all the data for your Grid something like this

3. If you don't want to show the auto refresh widget on the mashup you can disable it's visibility from the Widget properties section

As you can see default value for auto refresh is set to 30 secs you can change as per your requirement. Chain of events will be something like this that once the auto refresh refreshes itself Refresh event will be fired which is tired to the service getting all the values so it be fired again to fetch the values so here's how the overview looks like for the GetPropertyValues which i used in my sample mashup to show this

Hope this helps.

Hi,Sushant

    Thanks for your help!

yours!

supandey
19-Tanzanite
(To:wwang-21)

Glad it helped!

ankigupta
12-Amethyst
(To:wwang-21)

Hi WangNi wang​,

Great! Could you please mark Sushant answer correct so that other members know that this Thread has a solution.

Announcements


Top Tags