Created
April 7, 2015 03:11
-
-
Save gavinr/72f63bdfbc3a9d76291f to your computer and use it in GitHub Desktop.
wiring up the keyUp event on a textBox to call a function
This file contains hidden or 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
on(this.filterTextBox, "keyUp", lang.hitch(this, function(name, oldValue, newValue) { | |
var searchValue = this.filterTextBox.get("value"); | |
this.filterGrid(this.grid, this.memory, searchValue); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment