Title: Problem with keyboad events when using numberspinner Post by: contestant on March 14, 2015, 01:24:57 AM Hi to all
I use numberspinner for datagrid filed editor, But unfortunately my function that listen to keyboard events like below has been currupted: $(document).keypress(function(e) { if(e.which == 13) { // Press Enter saverow(grid,index); } else if(e.which == 0){ // Press Esc cancelrow(grid,index); } }); Title: Re: Problem with keyboad events when using numberspinner Post by: stworthy on March 14, 2015, 05:59:50 PM Please refer to http://www.jeasyui.com/tutorial/datagrid/datagrid15.php
|