I used the solution that was suggested to another developper.
——–
<script src="//cdn.jsdelivr.net/jquery.hotkeys/0.8b/jquery.hotkeys.js"></script>
<script>
// insert key to add new row
$(document).bind('keyup', 'insert', function(){
jQuery('#add_list1').click();
});
</script>
——-
I used it in the first subgrid of a script that has 1 grid and 2 subgrid.
When I completed the entering of fields, I have errors on fields required, also if those fields are correctly compiled.
Furthermore when I am in the add dialog of master grid or of 2nd subgrid and I click on enter key, opens the add dialog of the first subgrid
How do I do?
Thanks in advance
1 Answers
Your Answer