Removing all $extra_params['rowList'] array use the default jqgrid setting see #5381

skala
Julio Montoya 13 years ago
parent 4be1969164
commit 5be7c83f19
  1. 4
      main/admin/session_list.php
  2. 2
      main/admin/usergroups.php
  3. 3
      main/exercice/exercise_report.php
  4. 2
      main/exercice/hotpotatoes_exercise_report.php
  5. 3
      main/inc/lib/display.lib.php
  6. 3
      main/user/class.php

@ -80,9 +80,7 @@ $extra_params['autowidth'] = 'true';
//height auto
$extra_params['height'] = 'auto';
//$extra_params['excel'] = 'excel';
$extra_params['rowList'] = array(10, 20 ,30);
//$extra_params['rowList'] = array(10, 20 ,30);
//With this function we can add actions to the jgrid (edit, delete, etc)
$action_links = 'function action_formatter(cellvalue, options, rowObject) {

@ -62,8 +62,6 @@ $column_model = array(
$extra_params['autowidth'] = 'true';
//height auto
$extra_params['height'] = 'auto';
$extra_params['rowList'] = array(50, 100, 500, 1000, 2000, 5000);
//With this function we can add actions to the jgrid
$action_links = 'function action_formatter (cellvalue, options, rowObject) {

@ -375,8 +375,7 @@ $extra_params['autowidth'] = 'true';
//height auto
$extra_params['height'] = 'auto';
//$extra_params['excel'] = 'excel';
$extra_params['rowList'] = array(10, 20 ,30);
//$extra_params['rowList'] = array(10, 20 ,30);
?>
<script>

@ -366,7 +366,7 @@ $extra_params['autowidth'] = 'true';
//height auto
$extra_params['height'] = 'auto';
//$extra_params['excel'] = 'excel';
$extra_params['rowList'] = array(20, 50, 100, 500, 1000, 2000, 5000, 10000);
//$extra_params['rowList'] = array(20, 50, 100, 500, 1000, 2000, 5000, 10000);
?>
<script>

@ -872,7 +872,8 @@ class Display {
//Default row quantity
if (!isset($extra_params['rowList'])) {
$extra_params['rowList'] = array(50, 100, 200);
$extra_params['rowList'] = array(20, 50, 100, 500, 1000);
//$extra_params['rowList'] = array(20, 50, 100, 500, 1000, 2000, 5000, 10000);
}
$json = '';

@ -80,8 +80,7 @@ $column_model = array(
$extra_params['autowidth'] = 'true';
//height auto
$extra_params['height'] = 'auto';
$extra_params['rowList'] = array(50, 100, 500, 1000, 2000, 5000);
//$extra_params['rowList'] = array(50, 100, 500, 1000, 2000, 5000);
//With this function we can add actions to the jgrid
$action_links = 'function action_formatter (cellvalue, options, rowObject) {

Loading…
Cancel
Save