Skip to Content

Refreshing a Json model through loadData or refresh methods causes the tile to flicker or rerender

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 16, 2017 at 08:57 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • Jan 17, 2017 at 02:46 PM

    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

    Add comment
    10|10000 characters needed characters exceeded