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

How to stop reloading the data in grid on auto-refresh?

Highlighted
Level 4

How to stop reloading the data in grid on auto-refresh?

Hello All,

I have grid, I am getting grid data from the database. I am calling that service on auto-refresh. Refresh interval for auto refresh is 4 sec.

So on every 4 sec data is getting reloaded for grid. The grid is blinking in every 4 sec.

I don't want grid to blink. The data should get loaded only when it is changed.

Can anyone please help me? This is very urgent.

Thanks in advance.

Regards,

Renuka

10 REPLIES 10

Re: How to stop reloading the data in grid on auto-refresh?

Have you tried unchecking DataLoading box in the properties of grid?

Re: How to stop reloading the data in grid on auto-refresh?

There is property called ShowDataLoading in the Grid property. please uncheck that. Pravin is referring to same.

Re: How to stop reloading the data in grid on auto-refresh?

Hi, if you want that "The data should get loaded only when it is changed", you need something else than AutoRefresh. You can hide the loading bar but not the blink. The service "GetProperties" with the new property "Automatically updates when able" (from 7.2 apparently) would be helpful.

Related document: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS243895

Re: How to stop reloading the data in grid on auto-refresh?

as you want to load data on change you can subscribe that to a specific property and in the same subscription you call the desired service.

Re: How to stop reloading the data in grid on auto-refresh?

Thanks for Reply.

I have done that but still it is blinking. I want to remove that.

Thanks & Regards,

Renuka

Re: How to stop reloading the data in grid on auto-refresh?

Thanks for Reply.

I have done that but still it is blinking. I want to remove that.

Thanks & Regards,

Renuka

Re: How to stop reloading the data in grid on auto-refresh?

Thanks for Reply.

Yes you are right. It has hidden the loading bar but not the blinking.

We are using older thingworx version (6.5.6) not the 7.2.

Could you please suggest any alternatives for Thingworx 6.5.6?

Thanks & Regards,

Renuka

Re: How to stop reloading the data in grid on auto-refresh?

Could you please give any example?

Re: How to stop reloading the data in grid on auto-refresh?

Hi Renuka,

As i know will blink because the reason is the refresher you have applied to the service which is giving data to Grid. so the Grid is refreshing itself. as of now i dont know the reason to stop it but you can minimize it by increasing time interval of refresh widget.