ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: luis.batista on October 17, 2013, 02:43:04 am
-
Hi there...
I know that legacy browsers are complicated to talking about.. but i'm using PQGrid on a project that must be compatible to IE 7, and it works perfectly, just a spot bother me...
When I put a number of a page on the pagination input and I tap 'enter', dont change the page, but just when I'm using the keyboard, if I click on the 'next' or 'preview' button it works
-
Well I realize that on IE7, when I put the focus on another place that my input, the pagination works :o. So I just set the focus to my grid when I put ENTER on the input. The code looks like this:
$('.pq-pageholder').find('input').keypress(function(e){
if(e.which == 13) {
$('#grid').focus()
}
});
I put that on the refresh method and works for me , hope that helps ^^