当前位置: 首页>>代码示例>>PHP>>正文


PHP Grid::AddSingleRecordViewColumn方法代码示例

本文整理汇总了PHP中Grid::AddSingleRecordViewColumn方法的典型用法代码示例。如果您正苦于以下问题:PHP Grid::AddSingleRecordViewColumn方法的具体用法?PHP Grid::AddSingleRecordViewColumn怎么用?PHP Grid::AddSingleRecordViewColumn使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Grid的用法示例。


在下文中一共展示了Grid::AddSingleRecordViewColumn方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for cli-codcli field
     //
     $column = new TextViewColumn('cli-codcli', 'Cli-codcli', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for descrizione field
     //
     $column = new TextViewColumn('descrizione', 'Descrizione', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('elenco_clienti_viewGrid_descrizione_handler_view');
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:eroncalli,项目名称:atig,代码行数:17,代码来源:elenco_clienti_view.php

示例2: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for id_periodicidad field
     //
     $column = new TextViewColumn('id_periodicidad', 'Id Periodicidad', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     
     //
     // View column for no_periodicidad field
     //
     $column = new TextViewColumn('no_periodicidad', 'Nombre Periodicidad', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_sga_periodicidadGrid_no_periodicidad_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     
     //
     // View column for va_frecuencia field
     //
     $column = new TextViewColumn('va_frecuencia', 'Frecuencia', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.');
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:jsrxar,项目名称:dto,代码行数:26,代码来源:periodicidad.php

示例3: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for priority field
     //
     $column = new TextViewColumn('priority', 'Priority', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for total_allocated_hrs field
     //
     $column = new TextViewColumn('total_allocated_hrs', 'Total Allocated Hrs', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:CivicInfoBC,项目名称:workplan.gov_ver_1.19,代码行数:15,代码来源:Allocated_Hrs_by_Priority.php

示例4: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for program_name field
     //
     $column = new TextViewColumn('programm_id_program_name', 'Project Type', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for project_name field
     //
     $column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
     $column->SetOrderable(true);
     $column->SetEscapeHTMLSpecialChars(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for date_start field
     //
     $column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for date_end field
     //
     $column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for year field
     //
     $column = new TextViewColumn('year', 'Year', $this->dataset);
     $column->SetOrderable(true);
     $column->SetEscapeHTMLSpecialChars(true);
     $column->SetWordWrap(false);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Objectives', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('projectGrid_notes_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for Name field
     //
     $column = new TextViewColumn('priority_Name', 'Priority', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for username field
     //
     $column = new TextViewColumn('lead_username', 'Project Lead', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for approved_budget field
     //
     $column = new TextViewColumn('approved_budget', 'Approved Budget', $this->dataset);
     $column->SetOrderable(true);
     $column = new CurrencyFormatValueViewColumnDecorator($column, 2, ',', '.', $this->RenderText('$'));
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for budget_spent field
     //
     $column = new TextViewColumn('budget_spent', 'Budget Spent', $this->dataset);
     $column->SetOrderable(true);
     $column = new CurrencyFormatValueViewColumnDecorator($column, 2, ',', '.', $this->RenderText('$'));
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for multi_year field
     //
     $column = new TextViewColumn('multi_year', 'Multi Year', $this->dataset);
     $column->SetOrderable(true);
     $column = new CheckBoxFormatValueViewColumnDecorator($column);
     $column->SetDisplayValues($this->RenderText('<img src="images/checked.png" alt="true">'), $this->RenderText(''));
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for public_engagement field
     //
     $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('projectGrid_public_engagement_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for level_of_service field
     //
     $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for approved field
     //
     $column = new TextViewColumn('approved', 'Approved by CAO', $this->dataset);
     $column->SetOrderable(true);
     $column = new CheckBoxFormatValueViewColumnDecorator($column);
     $column->SetDisplayValues($this->RenderText('<img src="images/checked.png" alt="true">'), $this->RenderText(''));
//.........这里部分代码省略.........
开发者ID:CivicInfoBC,项目名称:workplan.gov_ver_1.19,代码行数:101,代码来源:project.php

示例5: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for id_tipo_espacio field
     //
     $column = new TextViewColumn('id_tipo_espacio', 'Id Tipo Espacio', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     
     //
     // View column for no_tipo_espacio field
     //
     $column = new TextViewColumn('no_tipo_espacio', 'No Tipo Espacio', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_sga_tipo_espacioGrid_no_tipo_espacio_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     
     //
     // View column for no_tipo_espacio field
     //
     $column = new TextViewColumn('id_tipo_espacio_padre_no_tipo_espacio', 'Id Tipo Espacio Padre', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     
     //
     // View column for ds_referencia field
     //
     $column = new TextViewColumn('ds_referencia', 'Ds Referencia', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_sga_tipo_espacioGrid_ds_referencia_handler_view');
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:jsrxar,项目名称:dto,代码行数:34,代码来源:tipo_espacio.php

示例6: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for id field
     //
     $column = new TextViewColumn('id', 'Id', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-numoff field
     //
     $column = new TextViewColumn('ofv-numoff', 'Ofv-numoff', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-codvoce field
     //
     $column = new TextViewColumn('ofv-codvoce', 'Ofv-codvoce', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-quantita field
     //
     $column = new TextViewColumn('ofv-quantita', 'Ofv-quantita', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-lunghezza field
     //
     $column = new TextViewColumn('ofv-lunghezza', 'Ofv-lunghezza', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-larghezza field
     //
     $column = new TextViewColumn('ofv-larghezza', 'Ofv-larghezza', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-tiposmu field
     //
     $column = new TextViewColumn('ofv-tiposmu', 'Ofv-tiposmu', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-przacq field
     //
     $column = new TextViewColumn('ofv-przacq', 'Ofv-przacq', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-sconto field
     //
     $column = new TextViewColumn('ofv-sconto', 'Ofv-sconto', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-valuni-cal field
     //
     $column = new TextViewColumn('ofv-valuni-cal', 'Ofv-valuni-cal', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ofv-valuni-fin field
     //
     $column = new TextViewColumn('ofv-valuni-fin', 'Ofv-valuni-fin', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for datains field
     //
     $column = new DateTimeViewColumn('datains', 'Datains', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y H:i:s');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for datamod field
     //
     $column = new DateTimeViewColumn('datamod', 'Datamod', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y H:i:s');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:eroncalli,项目名称:atig,代码行数:89,代码来源:offerte_dettaglio_costi.php

示例7: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for user_id field
     //
     $column = new TextViewColumn('user_id', 'User Id', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for page_name field
     //
     $column = new TextViewColumn('page_name', 'Page Name', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('phpgen_user_permsGrid_page_name_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for perm_name field
     //
     $column = new TextViewColumn('perm_name', 'Perm Name', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:outsourcinggithub,项目名称:outsourcing,代码行数:23,代码来源:phpgen_user_perms.php

示例8: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for id_metodologia field
     //
     $column = new TextViewColumn('id_metodologia', 'Id Metodologia', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     
     //
     // View column for no_metodologia field
     //
     $column = new TextViewColumn('no_metodologia', 'Nombre', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_sga_metodologiaGrid_no_metodologia_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     
     //
     // View column for ds_metodologia field
     //
     $column = new TextViewColumn('ds_metodologia', 'Descripción Metodo', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_sga_metodologiaGrid_ds_metodologia_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     
     //
     // View column for no_origen field
     //
     $column = new TextViewColumn('id_origen_no_origen', 'Origen', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'origen.php?operation=view&pk0=%id_origen%' , '_self');
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:jsrxar,项目名称:dto,代码行数:35,代码来源:metodologia.php

示例9: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for descrizione field
     //
     $column = new TextViewColumn('lis-codart_descrizione', 'Codice Articolo', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for lisdesc field
     //
     $column = new TextViewColumn('lisdesc', 'Descrizione', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('listino_articoliGrid_lisdesc_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for lis-unimis field
     //
     $column = new TextViewColumn('lis-unimis', 'Unità misura', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for lis-przacq field
     //
     $column = new TextViewColumn('lis-przacq', 'Prezzo acquisto', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for lis-moltipl field
     //
     $column = new TextViewColumn('lis-moltipl', 'Moltiplicatore', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for lis-oneriacc field
     //
     $column = new TextViewColumn('lis-oneriacc', 'Oneri e accessori', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for lis-scarto field
     //
     $column = new TextViewColumn('lis-scarto', 'Scarto', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for lis-dataini field
     //
     $column = new DateTimeViewColumn('lis-dataini', 'Data inizio decorrenza', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for lis-datafin field
     //
     $column = new DateTimeViewColumn('lis-datafin', 'Data fine decorrenza', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:eroncalli,项目名称:atig,代码行数:64,代码来源:listino_articoli.php

示例10: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for id_lugar field
     //
     $column = new TextViewColumn('id_lugar', 'Id Lugar', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for co_lugar field
     //
     $column = new TextViewColumn('co_lugar', 'Código Lugar', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for no_lugar field
     //
     $column = new TextViewColumn('no_lugar', 'Nombre Lugar', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_ods_lugarGrid_no_lugar_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ds_direccion field
     //
     $column = new TextViewColumn('ds_direccion', 'Direccion', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_ods_lugarGrid_ds_direccion_handler_view');
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:jsrxar,项目名称:dto,代码行数:31,代码来源:lugar.php

示例11: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for id_origen_lectura field
     //
     $column = new TextViewColumn('id_origen_lectura', 'Id Origen Lectura', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for co_origen_lectura field
     //
     $column = new TextViewColumn('co_origen_lectura', 'Código Origen Lectura', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for no_origen_lectura field
     //
     $column = new TextViewColumn('no_origen_lectura', 'Nombre Origen Lectura', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_ods_origen_lecturaGrid_no_origen_lectura_handler_view');
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:jsrxar,项目名称:dto,代码行数:23,代码来源:origen_lectura.php

示例12: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for project_id field
     //
     $column = new TextViewColumn('project_id', 'Project Id', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for project_type field
     //
     $column = new TextViewColumn('project_type', 'Project Type', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for project_name field
     //
     $column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('ProjectViewGrid_project_name_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for date_start field
     //
     $column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d H:i:s');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for date_end field
     //
     $column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d H:i:s');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for year field
     //
     $column = new TextViewColumn('year', 'Year', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for Objective field
     //
     $column = new TextViewColumn('Objective', 'Objective', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for priority field
     //
     $column = new TextViewColumn('priority', 'Priority', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('ProjectViewGrid_priority_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for project_lead field
     //
     $column = new TextViewColumn('project_lead', 'Project Lead', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('ProjectViewGrid_project_lead_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for approved_budget field
     //
     $column = new TextViewColumn('approved_budget', 'Approved Budget', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for budget_spent field
     //
     $column = new TextViewColumn('budget_spent', 'Budget Spent', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for multi_year field
     //
     $column = new TextViewColumn('multi_year', 'Multi Year', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for public_engagement field
     //
     $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('ProjectViewGrid_public_engagement_handler_view');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for level_of_service field
     //
     $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for approved_by_cao field
     //
     $column = new TextViewColumn('approved_by_cao', 'Approved By Cao', $this->dataset);
//.........这里部分代码省略.........
开发者ID:BCDevExchange,项目名称:WORKPLAN,代码行数:101,代码来源:ProjectView.php

示例13: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for COLOR_PELO_ID field
     //
     $column = new TextViewColumn('COLOR_PELO_ID', 'COLOR PELO ID', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('NOMBRE', 'NOMBRE', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for FEC_CREACION field
     //
     $column = new DateTimeViewColumn('FEC_CREACION', 'FEC CREACION', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for USUARIO_CREACION field
     //
     $column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for FEC_ULTIMA_MOD field
     //
     $column = new DateTimeViewColumn('FEC_ULTIMA_MOD', 'FEC ULTIMA MOD', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for USUARIO_ULTIMA_MOD field
     //
     $column = new TextViewColumn('USUARIO_ULTIMA_MOD', 'USUARIO ULTIMA MOD', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:kcallow,项目名称:MatchMe,代码行数:41,代码来源:GE.COLOR_PELO.php

示例14: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for id field
     //
     $column = new TextViewColumn('id', 'Id', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for habilitacion field
     //
     $column = new TextViewColumn('habilitacion', 'Habilitacion', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for nit field
     //
     $column = new TextViewColumn('nit', 'Nit', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for nombre field
     //
     $column = new TextViewColumn('nombre', 'Nombre', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('nombre_handler');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for tipo field
     //
     $column = new TextViewColumn('tipo', 'Tipo', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for direccion field
     //
     $column = new TextViewColumn('direccion', 'Direccion', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for telefono field
     //
     $column = new TextViewColumn('telefono', 'Telefono', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for depto field
     //
     $column = new TextViewColumn('depto', 'Depto', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('depto_handler');
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for mupio field
     //
     $column = new TextViewColumn('mupio', 'Mupio', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('mupio_handler');
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:Kenovix,项目名称:san-miguel,代码行数:63,代码来源:empresa.php

示例15: AddSingleRecordViewColumns

 protected function AddSingleRecordViewColumns(Grid $grid)
 {
     //
     // View column for USERNAME field
     //
     $column = new TextViewColumn('USERNAME', 'USERNAME', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for ES_REAL field
     //
     $column = new TextViewColumn('ES_REAL', 'ES REAL', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('LA1', 'EJERCICIO ID', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for FEC_CREACION field
     //
     $column = new DateTimeViewColumn('FEC_CREACION', 'FEC CREACION', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for USUARIO_CREACION field
     //
     $column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for FEC_ULTIMA_MOD field
     //
     $column = new DateTimeViewColumn('FEC_ULTIMA_MOD', 'FEC ULTIMA MOD', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
     //
     // View column for USUARIO_ULTIMA_MOD field
     //
     $column = new TextViewColumn('USUARIO_ULTIMA_MOD', 'USUARIO ULTIMA MOD', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddSingleRecordViewColumn($column);
 }
开发者ID:kcallow,项目名称:MatchMe,代码行数:47,代码来源:GE.PERSONA_DISPONIBLEXEJERCICIO.php


注:本文中的Grid::AddSingleRecordViewColumn方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。