title: Can't get the 'page' parameter
body: <p>This question is related to <a href="https://stackoverflow.com/questions/14118444/cant-get-the-current-page-as-parameter-when-the-next-button-is-clicked">THIS</a> question.
  What I have so far is:</p>
  
  <pre><code>onPaging: function(pgButton){ 
              var status = returnUserStatus();
              var pageNum = $('#userslist').getGridParam('page');
              if(pgButton=="next_pager"){ 
                  //window.alert("next clicked! \n page: " + page); 
                  loadUsers(status, pageNum);
              } 
              if(pgButton=="prev_pager"){ 
                  //window.alert("prev clicked! \n page: " + page); 
                  loadUsers(status, pageNum);
              } 
              if(pgButton=="last_pager"){ 
                  //window.alert("last clicked! \n page: " + page); 
                  loadUsers(status, pageNum);             
              }
              if(pgButton=="first_pager"){ 
                  //window.alert("first clicked! \n page: " + page); 
                  loadUsers(status, pageNum);
              }else if((pgButton !="first_pager") &amp;&amp; (pgButton !="last_pager") &amp;&amp; (pgButton !="prev_pager") &amp;&amp; (pgButton !="next_pager"))     
                  //window.alert("enter pressed \n page: "+ page );
  
                  console.log(pageNum);
                  loadUsers(status, pageNum);
          },
  </code></pre>
  
  <p>The problem is that the I can't get it when enter is clicked(in the testing above) for unknown reason the variable <code>pageNum</code> is <code>undefined</code>.</p>
  
  <p>Please, help me! I'm trying to fix this issue since 2-3 days</p>