EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
June 28, 2024, 05:49:36 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
Problem with keyboad events when using numberspinner
Pages: [
1
]
« previous
next »
Print
Author
Topic: Problem with keyboad events when using numberspinner (Read 6545 times)
contestant
Newbie
Posts: 40
Problem with keyboad events when using numberspinner
«
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);
}
});
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Problem with keyboad events when using numberspinner
«
Reply #1 on:
March 14, 2015, 05:59:50 PM »
Please refer to
http://www.jeasyui.com/tutorial/datagrid/datagrid15.php
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...