|
|
|
@ -74,11 +74,11 @@ $column_model = array( |
|
|
|
array('name'=>'date_start', 'index'=>'s.date_start', 'width'=>'40', 'align'=>'left', 'search' => 'true'), |
|
|
|
array('name'=>'date_start', 'index'=>'s.date_start', 'width'=>'40', 'align'=>'left', 'search' => 'true'), |
|
|
|
array('name'=>'date_end', 'index'=>'s.date_end', 'width'=>'40', 'align'=>'left', 'search' => 'true'), |
|
|
|
array('name'=>'date_end', 'index'=>'s.date_end', 'width'=>'40', 'align'=>'left', 'search' => 'true'), |
|
|
|
array('name'=>'coach_name', 'index'=>'coach_name', 'width'=>'80', 'align'=>'left', 'search' => 'false'), |
|
|
|
array('name'=>'coach_name', 'index'=>'coach_name', 'width'=>'80', 'align'=>'left', 'search' => 'false'), |
|
|
|
array('name'=>'status', 'index'=>'session_active','width'=>'40', 'align'=>'left', 'search' => 'true', 'stype'=>'select', |
|
|
|
array('name'=>'status', 'index'=>'session_active','width'=>'50', 'align'=>'left', 'search' => 'true', 'stype'=>'select', |
|
|
|
//for the bottom bar |
|
|
|
//for the bottom bar |
|
|
|
'searchoptions' => array( |
|
|
|
'searchoptions' => array( |
|
|
|
'defaultValue' => '1', |
|
|
|
'defaultValue' => ':', |
|
|
|
'value' => '1:'.get_lang('Active').';0:'.get_lang('Inactive') |
|
|
|
'value' => ':'.get_lang('All').';1:'.get_lang('Active').';0:'.get_lang('Inactive') |
|
|
|
), |
|
|
|
), |
|
|
|
//for the top bar |
|
|
|
//for the top bar |
|
|
|
'editoptions' => array( |
|
|
|
'editoptions' => array( |
|
|
|
@ -113,7 +113,7 @@ function setSearchSelect(columnName) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
searchoptions: { |
|
|
|
searchoptions: { |
|
|
|
dataInit:function(el) { |
|
|
|
dataInit:function(el) { |
|
|
|
$("option[value='2']",el).attr("selected", "selected"); |
|
|
|
$("option[value='1']",el).attr("selected", "selected"); |
|
|
|
setTimeout(function() { |
|
|
|
setTimeout(function() { |
|
|
|
$(el).trigger('change'); |
|
|
|
$(el).trigger('change'); |
|
|
|
}, 1000); |
|
|
|
}, 1000); |
|
|
|
|