How to force refreshing the div after content have been added ?
Dear Team,
First of all thanks for the awesome works! Really exiting to try out this framework.
I am try to build a news page which get json data from a server.
On the event loadpanel, I do a ajax call to get the data, then I use dotjs to build my list of items from the server and finnaly I add the list to the panel.
However, the scroller does not work anymore (which is nromal as I will need to refresh it)
What is the best appreach here, adding the content before showing the page? (I do not know how to do that, but I guess I can manually stop the default event and then load the page) or Can i refresh the scroller ?
Thanks
Hello,
It seems to work from the iPhone but not from the desktop. So I guess it is an issue with the desktop only ?
http://app-framework-software.intel.com/api2/index.html#$_ui_updatePanel
iOS implements native scrolling. This is not supported on other devices (except BB 10), so we use a JS scroller. When you update a "panel", you wipe away the scrolling wrapper. This function updates the proper div (handles cases for iOS and JS scrollers)