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
     //
     $column = new TextViewColumn('multi_year', 'Multi Year', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($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_list');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for level_of_service field
     //
     $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for approved_by_cao field
     //
     $column = new TextViewColumn('approved_by_cao', 'Approved By Cao', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for progress field
     //
     $column = new TextViewColumn('progress', 'Progress', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for DEPARTMENT field
     //
     $column = new TextViewColumn('DEPARTMENT', 'DEPARTMENT', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for total_hours field
     //
     $column = new TextViewColumn('total_hours', 'Total Hours', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for assigned_hours field
     //
     $column = new TextViewColumn('assigned_hours', 'Assigned Hours', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for assigned_progress field
     //
     $column = new TextViewColumn('assigned_progress', 'Assigned Progress', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
Exemple #2
0
 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);
 }
 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);
 }
 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(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($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(''));
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($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_list');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for level_of_service field
     //
     $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($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(''));
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for progress field
     //
     $column = new TextViewColumn('progress', 'Progress', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for DEPARTMENT field
     //
     $column = new TextViewColumn('dept_id_DEPARTMENT', 'Department', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for program_name field
     //
     $column = new TextViewColumn('programm_id_program_name', 'Project Type', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for project_name field
     //
     $column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for date_start field
     //
     $column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for date_end field
     //
     $column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for year field
     //
     $column = new TextViewColumn('year', 'Year', $this->dataset);
     $column->SetOrderable(true);
     $column->SetEscapeHTMLSpecialChars(true);
     $column->SetWordWrap(false);
     $result->AddPrintColumn($column);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Notes', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Name field
     //
     $column = new TextViewColumn('priority_Name', 'Priority', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for username field
     //
     $column = new TextViewColumn('lead_username', 'Project Lead', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($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('$'));
     $result->AddPrintColumn($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('$'));
     $result->AddPrintColumn($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(''));
     $result->AddPrintColumn($column);
     //
     // View column for public_engagement field
     //
     $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for level_of_service field
     //
     $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($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(''));
     $result->AddPrintColumn($column);
     //
     // View column for progress field
     //
     $column = new TextViewColumn('progress', 'Progress', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for DEPARTMENT field
     //
     $column = new TextViewColumn('dept_id_DEPARTMENT', 'Department', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     return $result;
 }
Exemple #5
0
 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);
 }
 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);
     $column->SetDateTimeFormat('d-m-Y H:i:s');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for datamod field
     //
     $column = new DateTimeViewColumn('datamod', 'Datamod', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y H:i:s');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
 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);
 }
 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);
 }
Exemple #9
0
 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);
 }
Exemple #10
0
 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);
 }
Exemple #11
0
 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);
 }
Exemple #12
0
 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);
 }
Exemple #13
0
 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);
 }
Exemple #14
0
 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);
 }
 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);
 }
Exemple #16
0
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for id_tipo_persona field
     //
     $column = new TextViewColumn('id_tipo_persona', 'Id Tipo Persona', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText('Identificador único del tipo de persona.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for no_tipo_persona field
     //
     $column = new TextViewColumn('no_tipo_persona', 'Nombre Tipo Persona', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_ods_tipo_personaGrid_no_tipo_persona_handler_list');
     $column->SetDescription($this->RenderText('Nombre del tipo de persona.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
Exemple #17
0
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for Name field
     //
     $column = new TextViewColumn('Name', 'Name', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
Exemple #18
0
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for EVENTO_ID field
     //
     $column = new TextViewColumn('EVENTO_ID', 'EVENTO ID', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('NOMBRE', 'NOMBRE', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for FECHA_HORA field
     //
     $column = new DateTimeViewColumn('FECHA_HORA', 'FECHA HORA', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for LUGAR field
     //
     $column = new TextViewColumn('LUGAR', 'LUGAR', $this->dataset);
     $column->SetOrderable(true);
     $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('GE_EVENTOGrid_DESCRIPCION_handler_list');
     $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);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('LA1', 'CIUDAD', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
Exemple #19
0
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for id_actividad field
     //
     $column = new TextViewColumn('id_actividad', 'Id Actividad', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText('Identificador único de la actividad.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for no_actividad field
     //
     $column = new TextViewColumn('no_actividad', 'Nombre Actividad', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_ods_actividadGrid_no_actividad_handler_list');
     $column->SetDescription($this->RenderText('Nombre de la actividad a realizar sobre el bien.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for ds_referencia field
     //
     $column = new TextViewColumn('id_actividad_padre_ds_referencia', 'Actividad Padre', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText('Identificador único de la actividad contenedora.'));
     $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_ods_actividadGrid_ds_referencia_handler_list');
     $column->SetDescription($this->RenderText('Referencia del registro.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for Process ID field
     //
     $column = new TextViewColumn('Process ID', 'Process ID', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for HostName field
     //
     $column = new TextViewColumn('HostName', 'HostName', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('dbo_procesosbdGrid_HostName_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for User field
     //
     $column = new TextViewColumn('User', 'User', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('dbo_procesosbdGrid_User_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Database field
     //
     $column = new TextViewColumn('Database', 'Database', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('dbo_procesosbdGrid_Database_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Status field
     //
     $column = new TextViewColumn('Status', 'Status', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for CPU field
     //
     $column = new TextViewColumn('CPU', 'CPU', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Physical IO field
     //
     $column = new TextViewColumn('Physical IO', 'Physical IO', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Login Time field
     //
     $column = new DateTimeViewColumn('Login Time', 'Login Time', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d H:i:s');
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for project_name field
     //
     $column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
     $column->SetOrderable(true);
     $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 lead field
     //
     $column = new TextViewColumn('lead', 'Lead', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for name field
     //
     $column = new TextViewColumn('name', 'Name', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for date field
     //
     $column = new DateTimeViewColumn('date', 'Timesheet Date', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for task_name field
     //
     $column = new TextViewColumn('task_name', 'Task Name', $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->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for pay_period_number field
     //
     $column = new TextViewColumn('pay_period_number', 'Pay Period ', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for hours field
     //
     $column = new TextViewColumn('hours', 'Hours', $this->dataset);
     $grid->SetTotal($column, PredefinedAggregate::$Sum);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for position field
     //
     $column = new TextViewColumn('position', 'Position', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for emp_number field
     //
     $column = new TextViewColumn('emp_number', 'Emp Number', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
Exemple #23
0
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for FEC_WINK field
     //
     $column = new DateTimeViewColumn('FEC_WINK', 'FEC WINK', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for ES_ADMIN field
     //
     $column = new TextViewColumn('LA1', 'USERNAME EMISOR', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for ES_ADMIN field
     //
     $column = new TextViewColumn('LA2', 'USERNAME RECEPTOR', $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);
 }
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for first_name field
     //
     $column = new TextViewColumn('first_name', 'First Name', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for first_name field
     //
     $editor = new TextEdit('first_name_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('First Name', 'first_name', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for first_name field
     //
     $editor = new TextEdit('first_name_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('First Name', 'first_name', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for middle_name field
     //
     $column = new TextViewColumn('middle_name', 'Middle Name', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for middle_name field
     //
     $editor = new TextEdit('middle_name_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('Middle Name', 'middle_name', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for middle_name field
     //
     $editor = new TextEdit('middle_name_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('Middle Name', 'middle_name', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for last_name field
     //
     $column = new TextViewColumn('last_name', 'Last Name', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for last_name field
     //
     $editor = new TextEdit('last_name_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('Last Name', 'last_name', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for last_name field
     //
     $editor = new TextEdit('last_name_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('Last Name', 'last_name', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for party_affiliation field
     //
     $column = new TextViewColumn('party_affiliation', 'Party Affiliation', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for party_affiliation field
     //
     $editor = new TextEdit('party_affiliation_edit');
     $editor->SetSize(1);
     $editor->SetMaxLength(1);
     $editColumn = new CustomEditColumn('Party Affiliation', 'party_affiliation', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for party_affiliation field
     //
     $editor = new TextEdit('party_affiliation_edit');
     $editor->SetSize(1);
     $editor->SetMaxLength(1);
     $editColumn = new CustomEditColumn('Party Affiliation', 'party_affiliation', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for address1 field
     //
     $column = new TextViewColumn('address1', 'Address1', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for address1 field
     //
     $editor = new TextEdit('address1_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('Address1', 'address1', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for address1 field
     //
     $editor = new TextEdit('address1_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('Address1', 'address1', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for address2 field
     //
     $column = new TextViewColumn('address2', 'Address2', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for address2 field
     //
     $editor = new TextEdit('address2_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('Address2', 'address2', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for address2 field
     //
     $editor = new TextEdit('address2_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('Address2', 'address2', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for city field
     //
     $column = new TextViewColumn('city', 'City', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for city field
     //
     $editor = new TextEdit('city_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('City', 'city', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for city field
     //
     $editor = new TextEdit('city_edit');
     $editor->SetSize(25);
     $editor->SetMaxLength(25);
     $editColumn = new CustomEditColumn('City', 'city', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for state field
     //
     $column = new TextViewColumn('state', 'State', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for state field
     //
     $editor = new TextEdit('state_edit');
     $editor->SetSize(2);
     $editor->SetMaxLength(2);
     $editColumn = new CustomEditColumn('State', 'state', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for state field
     //
     $editor = new TextEdit('state_edit');
     $editor->SetSize(2);
     $editor->SetMaxLength(2);
     $editColumn = new CustomEditColumn('State', 'state', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for zip field
     //
     $column = new TextViewColumn('zip', 'Zip', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for zip field
     //
     $editor = new TextEdit('zip_edit');
     $editor->SetSize(5);
     $editor->SetMaxLength(5);
     $editColumn = new CustomEditColumn('Zip', 'zip', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for zip field
     //
     $editor = new TextEdit('zip_edit');
     $editor->SetSize(5);
     $editor->SetMaxLength(5);
     $editColumn = new CustomEditColumn('Zip', 'zip', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for phone field
     //
     $column = new TextViewColumn('phone', 'Phone', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for phone field
     //
     $editor = new TextEdit('phone_edit');
     $editor->SetSize(15);
     $editor->SetMaxLength(15);
     $editColumn = new CustomEditColumn('Phone', 'phone', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for phone field
     //
     $editor = new TextEdit('phone_edit');
     $editor->SetSize(15);
     $editor->SetMaxLength(15);
     $editColumn = new CustomEditColumn('Phone', 'phone', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for fax field
     //
     $column = new TextViewColumn('fax', 'Fax', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for fax field
     //
     $editor = new TextEdit('fax_edit');
     $editor->SetSize(15);
     $editor->SetMaxLength(15);
     $editColumn = new CustomEditColumn('Fax', 'fax', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for fax field
     //
     $editor = new TextEdit('fax_edit');
     $editor->SetSize(15);
     $editor->SetMaxLength(15);
     $editColumn = new CustomEditColumn('Fax', 'fax', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for email_address field
     //
     $column = new TextViewColumn('email_address', 'Email Address', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for email_address field
     //
     $editor = new TextEdit('email_address_edit');
     $editor->SetSize(30);
     $editor->SetMaxLength(30);
     $editColumn = new CustomEditColumn('Email Address', 'email_address', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for email_address field
     //
     $editor = new TextEdit('email_address_edit');
     $editor->SetSize(30);
     $editor->SetMaxLength(30);
     $editColumn = new CustomEditColumn('Email Address', 'email_address', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for website field
     //
     $column = new TextViewColumn('website', 'Website', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for website field
     //
     $editor = new TextEdit('website_edit');
     $editor->SetSize(50);
     $editor->SetMaxLength(50);
     $editColumn = new CustomEditColumn('Website', 'website', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for website field
     //
     $editor = new TextEdit('website_edit');
     $editor->SetSize(50);
     $editor->SetMaxLength(50);
     $editColumn = new CustomEditColumn('Website', 'website', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for photo_link field
     //
     $column = new TextViewColumn('photo_link', 'Photo Link', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_office_holderGrid_photo_link_handler_list');
     /* <inline edit column> */
     //
     // Edit column for photo_link field
     //
     $editor = new TextAreaEdit('photo_link_edit', 50, 8);
     $editColumn = new CustomEditColumn('Photo Link', 'photo_link', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for photo_link field
     //
     $editor = new TextAreaEdit('photo_link_edit', 50, 8);
     $editColumn = new CustomEditColumn('Photo Link', 'photo_link', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Notes', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_office_holderGrid_notes_handler_list');
     /* <inline edit column> */
     //
     // Edit column for notes field
     //
     $editor = new TextAreaEdit('notes_edit', 50, 8);
     $editColumn = new CustomEditColumn('Notes', 'notes', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for notes field
     //
     $editor = new TextAreaEdit('notes_edit', 50, 8);
     $editColumn = new CustomEditColumn('Notes', 'notes', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
Exemple #25
0
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for ds_referencia field
     //
     $column = new TextViewColumn('id_tipo_accion_ds_referencia', 'Tipo Accion', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'tipo_accion.php?operation=view&pk0=%id_tipo_accion%' , '_self');
     $column->SetDescription($this->RenderText('Tipo de la accion.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for ds_referencia field
     //
     $column = new TextViewColumn('id_tipo_espacio_ds_referencia', 'Tipo Espacio', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'tipo_espacio.php?operation=view&pk0=%id_tipo_espacio%' , '_self');
     $column->SetDescription($this->RenderText('Tipo de espacio en que se puede ejecutar la acción.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for no_sector field
     //
     $column = new TextViewColumn('id_sector_no_sector', 'Sector', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'sector.php?operation=view&pk0=%id_sector%' , '_self');
     $column->SetDescription($this->RenderText('Sector sobre el que se ejecuta la acción.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for no_metodologia field
     //
     $column = new TextViewColumn('id_metodologia_no_metodologia', 'Metodología', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'metodologia.php?operation=view&pk0=%id_metodologia%' , '_self');
     $column->SetDescription($this->RenderText('Metodología de realización de la acción.'));
     $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 acción.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for fe_horas field
     //
     $column = new TextViewColumn('fe_horas', 'Horas Ejecución', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_sga_accionGrid_fe_horas_handler_list');
     $column->SetDescription($this->RenderText(' Horarios de ejecución de las tareas.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
Exemple #26
0
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for id_accion field
     //
     $column = new TextViewColumn('id_accion', 'Id Accion', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText('Identificador único de la acción.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for ds_referencia field
     //
     $column = new TextViewColumn('id_tipo_accion_ds_referencia', 'Tipo Accion', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'tipo_accion.php?operation=view&pk0=%id_tipo_accion%' , '_self');
     $column->SetDescription($this->RenderText('Tipo de la accion.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for ds_referencia field
     //
     $column = new TextViewColumn('id_tipo_espacio_ds_referencia', 'Tipo Espacio', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'tipo_espacio.php?operation=view&pk0=%id_tipo_espacio%' , '_self');
     $column->SetDescription($this->RenderText('Tipo de espacio en que se puede ejecutar la acción.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for ds_referencia field
     //
     $column = new TextViewColumn('id_tipo_bien_ds_referencia', 'Tipo Bien', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'tipo_bien.php?operation=view&pk0=%id_tipo_bien%' , '_self');
     $column->SetDescription($this->RenderText('Tipo de bien sobre el que se ejecuta la acción.'));
     $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 acción.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for no_metodologia field
     //
     $column = new TextViewColumn('id_metodologia_no_metodologia', 'Metodología', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'metodologia.php?operation=view&pk0=%id_metodologia%' , '_self');
     $column->SetDescription($this->RenderText('Metodología de realización de la acción.'));
     $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 acción.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for fl_a_demanda field
     //
     $column = new TextViewColumn('fl_a_demanda', 'A Demanda', $this->dataset);
     $column->SetOrderable(true);
     $column = new CheckBoxFormatValueViewColumnDecorator($column);
     $column->SetDisplayValues($this->RenderText('<img src="images/checked.png" alt="true">'), $this->RenderText(''));
     $column->SetDescription($this->RenderText('Indicador de si la actividad puede ser realizada a demanda.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     
     //
     // View column for ds_referencia field
     //
     $column = new TextViewColumn('ds_referencia', 'Descripción Referencia', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('public_sga_accionGrid_ds_referencia_handler_list');
     $column->SetDescription($this->RenderText('Referencia del registro.'));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
Exemple #27
0
 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_ADMIN field
     //
     $column = new TextViewColumn('ES_ADMIN', 'ES ADMIN', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for NACIMIENTO field
     //
     $column = new DateTimeViewColumn('NACIMIENTO', 'NACIMIENTO', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for PRIMER_APELLIDO field
     //
     $column = new TextViewColumn('PRIMER_APELLIDO', 'PRIMER APELLIDO', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for SEGUNDO_APELLIDO field
     //
     $column = new TextViewColumn('SEGUNDO_APELLIDO', 'SEGUNDO APELLIDO', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('NOMBRE', 'NOMBRE', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('LA1', 'GENERO ID', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('LA2', 'CIUDAD ID', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for SLOGAN field
     //
     $column = new TextViewColumn('SLOGAN', 'SLOGAN', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('GE_PERSONAGrid_SLOGAN_handler_list');
     $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);
     //
     // View column for EMAIL field
     //
     $column = new TextViewColumn('EMAIL', 'EMAIL', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('GE_PERSONAGrid_EMAIL_handler_list');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for CLAVE field
     //
     $column = new TextViewColumn('CLAVE', 'CLAVE', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for Cod_dpto field
     //
     $column = new TextViewColumn('Cod_dpto', 'Cod Dpto', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for Cod_dpto field
     //
     $editor = new TextEdit('cod_dpto_edit');
     $editColumn = new CustomEditColumn('Cod Dpto', 'Cod_dpto', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for Cod_dpto field
     //
     $editor = new TextEdit('cod_dpto_edit');
     $editColumn = new CustomEditColumn('Cod Dpto', 'Cod_dpto', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Nombre field
     //
     $column = new TextViewColumn('Nombre', 'Nombre', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for Nombre field
     //
     $editor = new TextEdit('nombre_edit');
     $editor->SetSize(45);
     $editor->SetMaxLength(45);
     $editColumn = new CustomEditColumn('Nombre', 'Nombre', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for Nombre field
     //
     $editor = new TextEdit('nombre_edit');
     $editor->SetSize(45);
     $editor->SetMaxLength(45);
     $editColumn = new CustomEditColumn('Nombre', 'Nombre', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for assigned_to field
     //
     $column = new TextViewColumn('assigned_to', 'Assigned To', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for total_hrs field
     //
     $column = new TextViewColumn('total_hrs', 'Total Hrs', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // 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);
 }
Exemple #30
0
 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 habilitacion field
     //
     $column = new TextViewColumn('habilitacion', 'Habilitacion', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for habilitacion field
     //
     $editor = new TextEdit('habilitacion_edit');
     $editor->SetSize(15);
     $editor->SetMaxLength(15);
     $editColumn = new CustomEditColumn('Habilitacion', 'habilitacion', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for habilitacion field
     //
     $editor = new TextEdit('habilitacion_edit');
     $editor->SetSize(15);
     $editor->SetMaxLength(15);
     $editColumn = new CustomEditColumn('Habilitacion', 'habilitacion', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for nit field
     //
     $column = new TextViewColumn('nit', 'Nit', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for nit field
     //
     $editor = new TextEdit('nit_edit');
     $editor->SetSize(12);
     $editor->SetMaxLength(12);
     $editColumn = new CustomEditColumn('Nit', 'nit', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for nit field
     //
     $editor = new TextEdit('nit_edit');
     $editor->SetSize(12);
     $editor->SetMaxLength(12);
     $editColumn = new CustomEditColumn('Nit', 'nit', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for nombre field
     //
     $column = new TextViewColumn('nombre', 'Nombre', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('nombre_handler');
     /* <inline edit column> */
     //
     // Edit column for nombre field
     //
     $editor = new TextEdit('nombre_edit');
     $editor->SetSize(80);
     $editor->SetMaxLength(80);
     $editColumn = new CustomEditColumn('Nombre', 'nombre', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for nombre field
     //
     $editor = new TextEdit('nombre_edit');
     $editor->SetSize(80);
     $editor->SetMaxLength(80);
     $editColumn = new CustomEditColumn('Nombre', 'nombre', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for tipo field
     //
     $column = new TextViewColumn('tipo', 'Tipo', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for tipo field
     //
     $editor = new TextEdit('tipo_edit');
     $editor->SetSize(10);
     $editor->SetMaxLength(10);
     $editColumn = new CustomEditColumn('Tipo', 'tipo', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for tipo field
     //
     $editor = new TextEdit('tipo_edit');
     $editor->SetSize(10);
     $editor->SetMaxLength(10);
     $editColumn = new CustomEditColumn('Tipo', 'tipo', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for direccion field
     //
     $column = new TextViewColumn('direccion', 'Direccion', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for direccion field
     //
     $editor = new TextEdit('direccion_edit');
     $editor->SetSize(50);
     $editor->SetMaxLength(50);
     $editColumn = new CustomEditColumn('Direccion', 'direccion', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for direccion field
     //
     $editor = new TextEdit('direccion_edit');
     $editor->SetSize(50);
     $editor->SetMaxLength(50);
     $editColumn = new CustomEditColumn('Direccion', 'direccion', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for telefono field
     //
     $column = new TextViewColumn('telefono', 'Telefono', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for telefono field
     //
     $editor = new TextEdit('telefono_edit');
     $editor->SetSize(7);
     $editor->SetMaxLength(7);
     $editColumn = new CustomEditColumn('Telefono', 'telefono', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for telefono field
     //
     $editor = new TextEdit('telefono_edit');
     $editor->SetSize(7);
     $editor->SetMaxLength(7);
     $editColumn = new CustomEditColumn('Telefono', 'telefono', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for depto field
     //
     $column = new TextViewColumn('depto', 'Depto', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('depto_handler');
     /* <inline edit column> */
     //
     // Edit column for depto field
     //
     $editor = new TextAreaEdit('depto_edit', 50, 8);
     $editColumn = new CustomEditColumn('Depto', 'depto', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for depto field
     //
     $editor = new TextAreaEdit('depto_edit', 50, 8);
     $editColumn = new CustomEditColumn('Depto', 'depto', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for mupio field
     //
     $column = new TextViewColumn('mupio', 'Mupio', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('mupio_handler');
     /* <inline edit column> */
     //
     // Edit column for mupio field
     //
     $editor = new TextAreaEdit('mupio_edit', 50, 8);
     $editColumn = new CustomEditColumn('Mupio', 'mupio', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for mupio field
     //
     $editor = new TextAreaEdit('mupio_edit', 50, 8);
     $editColumn = new CustomEditColumn('Mupio', 'mupio', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }