Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OJET Masonry Layout

3198057Jun 21 2016 — edited Jun 23 2016

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!

This post has been answered by 3198057 on Jun 23 2016
Jump to Answer
Comments
Post Details
Added on Jun 21 2016
2 comments
607 views