Created
November 18, 2010 15:00
-
-
Save linusthe3rd/705083 to your computer and use it in GitHub Desktop.
Updating a dojo widget's date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function updateTheWidget(){ | |
var newData = getData() // handles the xhr request to retrieve the new set of data | |
theWidget.attr("data", newData); //update the widget with the new set of data | |
theWidget.refresh(); //refresh the widget UI | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment