Created
January 16, 2013 14:44
-
-
Save stlsmiths/4547585 to your computer and use it in GitHub Desktop.
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
// showEditor | |
oe.showEditor(td6); | |
inp = oe._inputNode; | |
// ESC cancelEditor | |
td6.simulate('click'); | |
//inp.focus(); | |
inp.simulate('keypress',{charCode:72}); // 4:52 H:72 i:105 | |
inp.simulate('keypress',{charCode:52}); // 4:52 H:72 i:105 | |
inp.simulate('keydown',{keyCode:27}); | |
Assert.isFalse(oe.get('visible'),'cell editor col 1 should be closed'); | |
Assert.isFalse(dt.getCellEditor('sprice').get('visible'),'cell editor col 1 should be closed'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment