how to get the actual value of -lines per page- in a grid

Hello,

with set_apl_config … I can set this value,
but how can I get the actual value of -lines per page- in a grid if a user changes this value ?

Best regards
Uwe Pfeiffer

Re: how to get the actual value of -lines per page- in a grid

There seems to be a variable: (Page count was 10)

nm_gp_rec_fim = "11";

There was also the following code:


     <td class="scGridToolbarPadding" nowrap valign="middle" align="center" width="33%"> 
      [1 to 10 of 2611]
     </td> 
     <td class="scGridToolbarPadding" nowrap valign="middle" align="right" width="33%"> 
      <input type="button" id="brec_bot" onClick="document.F0_bot.submit(); return false" class="scButton_default" value="Go to" title="Go to line" style="vertical-align: middle">
 
     <input type="text" class="css_toolbar_obj" name="rec" value="1" style="width:25px;vertical-align: middle;"/> 
      <input type="button" id="qtlin_bot" onClick="document.F0_bot.submit(); return false" class="scButton_default" value="View" title="Change the rows limit" style="vertical-align: middle">
 
     <input type="text" class="css_toolbar_obj" name="nmgp_quant_linhas" value="10" style="width:25px;vertical-align: middle;"/> 
     </td> 

If you load firebug and look at the PHP file (app_name.php on the Network tab, it displays this variable. There may be another.

Regards,
Scott.

Re: how to get the actual value of -lines per page- in a grid

with nm_atualiza we can change one page at once but how can I get the actual value of -lines per page- in a grid if a user changes this value ?