function grid_render() { $schedulesGroups = Modules::run('duc/duc_schedules/MY_data_array_one', 'id_group', 'active', array('active' => 1)); $opt = ' var opts = {beforeShowForm: function($form) { var value = $form.find("#id").val(); $form.find("#id").append("My fancy suffix for value: " + value); }}; '; parent::grid_render(); // добавление кнопок навигации в toolbar $this->load->view('grid/navigator/button_bar', array('id' => 'active_grid_duc_groups', 'oper' => 'active', 'caption' => 'Вкл.', 'title' => 'Включить выбранные записи', 'buttonicon' => 'ui-icon-play', 'confirm' => 'Включить выбранные записи?', 'field' => 'id')); $this->load->view('grid/navigator/button_bar', array('id' => 'deactive_grid_duc_groups', 'oper' => 'deactive', 'caption' => 'Откл.', 'title' => 'Отключить выбранные записи', 'buttonicon' => 'ui-icon-stop', 'confirm' => 'Отключить выбранные записи?', 'field' => 'id')); // возможность сортировки полей методом drag and drop $this->load->view('grid/sorter/sortrows', array('grid' => $this->table, 'url' => '/grid/' . $this->MY_table . '/' . $this->MY_module . '/grid/')); // изменение вида формы поля select teacher при редактировании /* $this->load->view('grid/formatter/select2', array('grid' => $this->table, 'url' => '/grid/'.$this->MY_table.'/'.$this->MY_module.'/grid/', 'selector' => '#id_teacher', 'width' => '350px', //'formatSelection' => 'formatSelection', //'formatResult' => 'formatResult' ) ); */ $this->load->view('grid/formatter/select2', array('grid' => $this->table, 'url' => '/grid/' . $this->MY_table . '/' . $this->MY_module . '/grid/', 'selector' => '#gs_id_teacher', 'width' => '300px', 'event' => 'jqGridGridComplete')); $this->load->view('grid/formatter/select2', array('grid' => $this->table, 'url' => '/grid/' . $this->MY_table . '/' . $this->MY_module . '/grid/', 'selector' => '#gs_name', 'width' => '350px', 'containerCss' => array('text-align' => 'left'), 'event' => 'jqGridGridComplete')); // группировка заголовков $this->load->view('grid/group_header/colspan', array('grid' => $this->table, 'useColSpanStyle' => true, 'column' => array('year_education_from' => array('numberOfColumns' => 2, 'titleText' => lang('duc_year_education')), 'age_from' => array('numberOfColumns' => 2, 'titleText' => lang('duc_age_child')), 'duration_job' => array('numberOfColumns' => 2, 'titleText' => lang('duc_duration'))))); }
function grid_render() { parent::grid_render(); $this->load->view('grid/navigator/active'); $this->load->view('grid/sorter/sortrows', array('grid' => $this->table, 'url' => '/grid/' . $this->MY_table . '/' . $this->MY_module . '/grid/')); $this->load->view('grid/formatter/select2', array('grid' => $this->table, 'url' => '/grid/' . $this->MY_table . '/' . $this->MY_module . '/grid/')); $this->load->view('grid/group_header/colspan', array('grid' => $this->table, 'useColSpanStyle' => true, 'column' => array('year_education_from' => array('numberOfColumns' => 2, 'titleText' => lang('duc_year_education')), 'age_from' => array('numberOfColumns' => 2, 'titleText' => lang('duc_age_child')), 'duration_job' => array('numberOfColumns' => 2, 'titleText' => lang('duc_duration'))))); }
function __construct() { parent::__construct(); $this->table = 'grid_duc_photos'; $this->MY_table = 'duc_photos'; }
function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); $this->table = 'grid_duc_durations'; }
function grid_render() { parent::grid_render(); $this->load->view('grid/navigator/active'); }
function __construct() { parent::__construct(); $this->table = 'grid_duc_activities'; }
function __construct() { parent::__construct(); $this->table = 'grid_duc_addresses'; }
function grid_render() { parent::grid_render(); //$this->load->view('grid/navigator/active'); $this->load->view('grid/sorter/sortrows', array('grid' => $this->table, 'url' => '/grid/' . $this->MY_table . '/' . $this->MY_module . '/grid/')); }
function __construct() { parent::__construct(); $this->table = 'grid_duc_dop_teachers'; }
function __construct() { parent::__construct(); $this->table = 'grid_duc_schedules'; }
function __construct() { parent::__construct(); $this->table = 'grid_duc_concertmasters'; }
function __construct() { parent::__construct(); $this->table = 'grid_duc_settings'; }