From c9560b8508abbeada1ba069dd0032b508b983aa3 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 22 Jun 2011 15:16:46 +0200 Subject: [PATCH] Session UI changes Collased = true BT#2713 --- main/session/index.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/main/session/index.php b/main/session/index.php index 215fdb2a26..7c8e3b4e1d 100644 --- a/main/session/index.php +++ b/main/session/index.php @@ -264,7 +264,8 @@ $column_model = array(array('name'=>'date', 'index'=>'date', 'width'=>'150 //Per course grid settings $url_by_course = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_by_course&session_id='.$session_id.'&course_id='.$course_id; $extra_params_course['grouping'] = 'true'; -$extra_params_course['groupingView'] = array('groupField' => array('course'), +$extra_params_course['groupingView'] = array('groupCollapse' => true, + 'groupField' => array('course'), 'groupColumnShow' => array('false'), 'groupText' => array(''.get_lang('Course').' {0}')); //$extra_params_course['autowidth'] = 'true'; //use the width of the parent @@ -280,10 +281,11 @@ $column_week_model = array ( $extra_params_week['grouping'] = 'true'; //For more details see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:grouping -$extra_params_week['groupingView'] = array('groupDataSorted' =>true, - 'groupField'=>array('week'), - 'groupColumnShow'=>'false', - 'groupText' => array(''.get_lang('PeriodWeek').' {0}')); +$extra_params_week['groupingView'] = array('groupCollapse' => true, + 'groupDataSorted' => true, + 'groupField' => array('week'), + 'groupColumnShow' => 'false', + 'groupText' => array(''.get_lang('PeriodWeek').' {0}')); //$extra_params_week['autowidth'] = 'true'; //use the width of the parent //MyQCM grid