Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
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
Have you tried unchecking DataLoading box in the properties of grid?
Thanks for Reply.
I have done that but still it is blinking. I want to remove that.
Thanks & Regards,
Renuka
There is property called ShowDataLoading in the Grid property. please uncheck that. Pravin is referring to same.
Thanks for Reply.
I have done that but still it is blinking. I want to remove that.
Thanks & Regards,
Renuka
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
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
So there's another way:
Another example of this procedure (not exactly the same): Refreshing the Repeater only if the data actually changed
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.
Could you please give any example?
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.