on 01-16-2017 7:43 PM
Refreshing a Json model through loadData or refresh methods causes the tile to flicker or rerender , is there a way to update the tile's info without rerendering the whole tile thus making it flicker each time the model is updated?
you can still refresh the tile by refreshing the model without having to refresh the tile... does your model still get refreshed without having to do the oJsonModel.refresh(true) ?
hope that works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Previously, I used the oJsonModel.refresh(true) and it caused the whole tile to flicker or re-render. I then changed the method of refreshing the JSON Model , instead of using the refresh method i only bind the needed property instead of loading or refreshing the whole model, however the tile's icon still flickers whenever the property changes ( this happens only on the google chrome browser and on my smartphone's browser , and strangely not on Firefox).
Thank you for your input , Sergio 🙂
Mohamed,
are you rerendering the tiles? the tiles shouldn't re-render if you update the model.. or setProperty within the model.
do you have any code to share so we see what is happening?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need to refresh the tile info at a set interval , refreshing the model is done through the following , or oJsonModel.refresh(true); This causes the tiles to flicker when the model is updated.
setInterval( function() {
oJsonModel.loadData( "https://iotmdcp1942282776trial.hanatrial.ondemand.com/.......);
}, 5000 );
The model is attached to the tile container through bind aggregation.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.