本文整理汇总了PHP中Grid::AddViewColumn方法的典型用法代码示例。如果您正苦于以下问题:PHP Grid::AddViewColumn方法的具体用法?PHP Grid::AddViewColumn怎么用?PHP Grid::AddViewColumn使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Grid
的用法示例。
在下文中一共展示了Grid::AddViewColumn方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for project_id field
//
$column = new TextViewColumn('project_id', 'Project Id', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for project_type field
//
$column = new TextViewColumn('project_type', 'Project Type', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for year field
//
$column = new TextViewColumn('year', 'Year', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for Objective field
//
$column = new TextViewColumn('Objective', 'Objective', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for priority field
//
$column = new TextViewColumn('priority', 'Priority', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('ProjectViewGrid_priority_handler_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for approved_budget field
//
$column = new TextViewColumn('approved_budget', 'Approved Budget', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for budget_spent field
//
$column = new TextViewColumn('budget_spent', 'Budget Spent', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for multi_year field
//.........这里部分代码省略.........
示例2: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id_periodicidad field
//
$column = new TextViewColumn('id_periodicidad', 'Id Periodicidad', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Identificador único de la periodicidad.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText('Nombre de la periodicidad.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for va_frecuencia field
//
$column = new TextViewColumn('va_frecuencia', 'Frecuencia', $this->dataset);
$column->SetOrderable(true);
$column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.');
$column->SetDescription($this->RenderText('Frecuencia (en días) de realización de la actividad.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例3: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for priority field
//
$column = new TextViewColumn('priority', 'Priority', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for total_allocated_hrs field
//
$column = new TextViewColumn('total_allocated_hrs', 'Total Allocated Hrs', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例4: Grid
function CreateMasterDetailRecordGridForproject_timeline_detailDetailEdit2projectGrid()
{
$result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForproject_timeline_detailDetailEdit2project');
$result->SetAllowDeleteSelected(false);
$result->OnCustomDrawCell->AddListener('MasterDetailRecordGridForproject_timeline_detailDetailEdit2project' . '_OnCustomDrawRow', $this);
$result->OnCustomRenderColumn->AddListener('MasterDetailRecordGridForproject_timeline_detailDetailEdit2project' . '_' . 'OnCustomRenderColumn', $this);
$result->SetShowFilterBuilder(false);
$result->SetAdvancedSearchAvailable(false);
$result->SetFilterRowAvailable(false);
$result->SetShowUpdateLink(false);
$result->SetEnabledInlineEditing(false);
$result->SetShowKeyColumnsImagesInHeader(false);
$result->SetName('master_grid');
//
// View column for program_name field
//
$column = new TextViewColumn('programm_id_program_name', 'Project Type', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for project_name field
//
$column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
$column->SetOrderable(true);
$column->SetEscapeHTMLSpecialChars(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for date_start field
//
$column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for date_end field
//
$column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for year field
//
$column = new TextViewColumn('year', 'Year', $this->dataset);
$column->SetOrderable(true);
$column->SetEscapeHTMLSpecialChars(true);
$column->SetWordWrap(false);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for notes field
//
$column = new TextViewColumn('notes', 'Objectives', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('projectGrid_notes_handler_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for Name field
//
$column = new TextViewColumn('priority_Name', 'Priority', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for username field
//
$column = new TextViewColumn('lead_username', 'Project Lead', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($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('$'));
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($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('$'));
$column->SetDescription($this->RenderText(''));
//.........这里部分代码省略.........
示例5: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id_tipo_espacio field
//
$column = new TextViewColumn('id_tipo_espacio', 'Id Tipo Espacio', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Identificador único del tipo de espacio.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText('Nombre del tipo de espacio.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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);
$column->SetDescription($this->RenderText('Identificador único del tipo de espacio padre (supertipo).'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText('Referencia del registro.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例6: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id field
//
$column = new TextViewColumn('id', 'Id', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ofv-numoff field
//
$column = new TextViewColumn('ofv-numoff', 'Ofv-numoff', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ofv-codvoce field
//
$column = new TextViewColumn('ofv-codvoce', 'Ofv-codvoce', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ofv-quantita field
//
$column = new TextViewColumn('ofv-quantita', 'Ofv-quantita', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ofv-lunghezza field
//
$column = new TextViewColumn('ofv-lunghezza', 'Ofv-lunghezza', $this->dataset);
$column->SetOrderable(true);
$column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ofv-larghezza field
//
$column = new TextViewColumn('ofv-larghezza', 'Ofv-larghezza', $this->dataset);
$column->SetOrderable(true);
$column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ofv-tiposmu field
//
$column = new TextViewColumn('ofv-tiposmu', 'Ofv-tiposmu', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ofv-przacq field
//
$column = new TextViewColumn('ofv-przacq', 'Ofv-przacq', $this->dataset);
$column->SetOrderable(true);
$column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ofv-sconto field
//
$column = new TextViewColumn('ofv-sconto', 'Ofv-sconto', $this->dataset);
$column->SetOrderable(true);
$column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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, '.', ',');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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, '.', ',');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for datains field
//
$column = new DateTimeViewColumn('datains', 'Datains', $this->dataset);
//.........这里部分代码省略.........
示例7: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for user_id field
//
$column = new TextViewColumn('user_id', 'User Id', $this->dataset);
$column->SetOrderable(true);
$column->setMinimalVisibility(ColumnVisibility::PHONE);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->setMinimalVisibility(ColumnVisibility::PHONE);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for perm_name field
//
$column = new TextViewColumn('perm_name', 'Perm Name', $this->dataset);
$column->SetOrderable(true);
$column->setMinimalVisibility(ColumnVisibility::PHONE);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例8: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id field
//
$column = new TextViewColumn('id', 'Id', $this->dataset);
$column->SetOrderable(true);
$column->setMinimalVisibility(ColumnVisibility::PHONE);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for id_planificacion field
//
$column = new TextViewColumn('id_planificacion', 'Id Planificacion', $this->dataset);
$column->SetOrderable(true);
$column->setMinimalVisibility(ColumnVisibility::PHONE);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for descripcion field
//
$column = new TextViewColumn('descripcion', 'Descripcion', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('actividadGrid_descripcion_handler_list');
$column->setMinimalVisibility(ColumnVisibility::PHONE);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for esfuerzo field
//
$column = new TextViewColumn('esfuerzo', 'Esfuerzo', $this->dataset);
$column->SetOrderable(true);
$column->setMinimalVisibility(ColumnVisibility::PHONE);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例9: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id_tarea_plan field
//
$column = new TextViewColumn('id_tarea_plan', 'Id Tarea Plan', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Identificador único de la planificación de la tarea.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ds_referencia field
//
$column = new TextViewColumn('id_accion_ds_referencia', 'Acción', $this->dataset);
$column->SetOrderable(true);
$column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'accion.php?operation=view&pk0=%id_accion%' , '_self');
$column->SetDescription($this->RenderText('Acción que ejecuta la tarea planificada.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ds_referencia field
//
$column = new TextViewColumn('id_espacio_ds_referencia', 'Espacio', $this->dataset);
$column->SetOrderable(true);
$column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'espacio.php?operation=view&pk0=%id_espacio%' , '_self');
$column->SetDescription($this->RenderText('Espacio sobre el que se ejecuta la tarea planificada.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ds_observacion field
//
$column = new TextViewColumn('id_bien_ds_observacion', 'Bien', $this->dataset);
$column->SetOrderable(true);
$column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'bien.php?operation=view&pk0=%id_bien%' , '_self');
$column->SetDescription($this->RenderText('Bien asociado a la tarea planificada.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for no_periodicidad field
//
$column = new TextViewColumn('id_periodicidad_no_periodicidad', 'Periodicidad', $this->dataset);
$column->SetOrderable(true);
$column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'periodicidad.php?operation=view&pk0=%id_periodicidad%' , '_self');
$column->SetDescription($this->RenderText('Periodicidad de ejecución de la tarea planificada.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ds_detalle field
//
$column = new TextViewColumn('ds_detalle', 'Detalle', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('public_sga_tarea_planGrid_ds_detalle_handler_list');
$column->SetDescription($this->RenderText('Detalles adicionales necesarios para la realización de la tarea.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例10: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id_metodologia field
//
$column = new TextViewColumn('id_metodologia', 'Id Metodologia', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Identificador único de una metodología.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText('Nombre de la metodología.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText('Descripción del metodología.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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');
$column->SetDescription($this->RenderText('Origen de la metodología.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例11: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for descrizione field
//
$column = new TextViewColumn('lis-codart_descrizione', 'Codice Articolo', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例12: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id_origen_lectura field
//
$column = new TextViewColumn('id_origen_lectura', 'Id Origen Lectura', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Identificador único del origen de lectura.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for co_origen_lectura field
//
$column = new TextViewColumn('co_origen_lectura', 'Código Origen Lectura', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Código del origen de la lectura.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText('Nombre del origen de la lectura.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例13: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id_origen field
//
$column = new TextViewColumn('id_origen', 'Id Origen', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Identificador único de origen.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for no_origen field
//
$column = new TextViewColumn('no_origen', 'Nombre Origen', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('public_sga_origenGrid_no_origen_handler_list');
$column->SetDescription($this->RenderText('Nombre del origen de la actividad/procedimiento.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例14: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for id_lugar field
//
$column = new TextViewColumn('id_lugar', 'Id Lugar', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Identificador único de lugar de lectura.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for co_lugar field
//
$column = new TextViewColumn('co_lugar', 'Código Lugar', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText('Código de ifentificación única del lugar.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText('Nombre del lugar de lectura.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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_list');
$column->SetDescription($this->RenderText('Dirección del lugar.'));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}
示例15: AddFieldColumns
protected function AddFieldColumns(Grid $grid)
{
//
// View column for USERNAME field
//
$column = new TextViewColumn('USERNAME', 'USERNAME', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for ES_REAL field
//
$column = new TextViewColumn('ES_REAL', 'ES REAL', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for NOMBRE field
//
$column = new TextViewColumn('LA1', 'EJERCICIO ID', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for FEC_CREACION field
//
$column = new DateTimeViewColumn('FEC_CREACION', 'FEC CREACION', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for USUARIO_CREACION field
//
$column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($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);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
//
// View column for USUARIO_ULTIMA_MOD field
//
$column = new TextViewColumn('USUARIO_ULTIMA_MOD', 'USUARIO ULTIMA MOD', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$grid->AddViewColumn($column);
}