Hello All
I have recently started working on OJET. I am encountering an issue with ojmasonryLayout. In my application we are customizing masonry Layout. Our requirement is such that user will have an access to dialog which ends with a new Tile. User can create 'N' number of Tiles. We have a menu on each Tile with sub-menu's. Among sub-menu's we have a refresh rate having values like '5s' , '10s' and so on.
We have two seperate ojModules , one app.js which is responsible for Tile creation having menu's. Another module for rendering data inside Tile. We bind the chart module to App module when we are inserting the Tile. The problem we are facing is whenever user changes the refreshRate in one Tile we call an API written in chartModal by passing (tileId,newRefreshRate). Now if user has created more than one tile(say Tile1,Tile2,Tile3) and selects refreshRate from Tile1 then the setInterval is getting set for the last object created i.e the new refreshRate is set to Last Tile created(Tile3).
Any help or pointer would be a great help.
Cheers!