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 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 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_procesosGrid_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_procesosGrid_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_procesosGrid_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 Open Transactions field
     //
     $column = new TextViewColumn('Open Transactions', 'Open Transactions', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Command field
     //
     $column = new TextViewColumn('Command', 'Command', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Application field
     //
     $column = new TextViewColumn('Application', 'Application', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('dbo_procesosGrid_Application_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Wait Time field
     //
     $column = new TextViewColumn('Wait Time', 'Wait Time', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Wait Type field
     //
     $column = new TextViewColumn('Wait Type', 'Wait Type', $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 Memory Usage field
     //
     $column = new TextViewColumn('Memory Usage', 'Memory Usage', $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);
     //
     // View column for Last Batch field
     //
     $column = new DateTimeViewColumn('Last Batch', 'Last Batch', $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);
     //
     // View column for Blocked By field
     //
     $column = new TextViewColumn('Blocked By', 'Blocked By', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Blocked By Query field
     //
     $column = new TextViewColumn('Blocked By Query', 'Blocked By Query', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for Blocking field
     //
     $column = new TextViewColumn('Blocking', 'Blocking', $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);
 }
 function CreateMasterDetailRecordGridForobjeto_planificacionDetailEdit1planificacionGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForobjeto_planificacionDetailEdit1planificacion');
     $result->SetAllowDeleteSelected(false);
     $result->SetShowFilterBuilder(false);
     $result->SetAdvancedSearchAvailable(false);
     $result->SetShowUpdateLink(false);
     $result->SetEnabledInlineEditing(false);
     $result->SetShowKeyColumnsImagesInHeader(false);
     $result->SetName('master_grid');
     $result->SetViewMode(ViewMode::TABLE);
     $result->setEnableRuntimeCustomization(false);
     //
     // 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);
     $result->AddViewColumn($column);
     //
     // View column for num_req_padre field
     //
     $column = new TextViewColumn('num_req_padre', 'MrCoo', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for num_req_hijo field
     //
     $column = new TextViewColumn('num_req_hijo', 'Caso de Uso', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for etapa field
     //
     $column = new TextViewColumn('etapa', 'Etapa de Planificación', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for descripcion field
     //
     $column = new TextViewColumn('descripcion', 'Descripción', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('planificacionGrid_descripcion_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for criterios_aceptacion field
     //
     $column = new TextViewColumn('criterios_aceptacion', 'Criterios Aceptación', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('planificacionGrid_criterios_aceptacion_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->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);
     $result->AddViewColumn($column);
     //
     // View column for observaciones field
     //
     $column = new TextViewColumn('observaciones', 'Observaciones', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('planificacionGrid_observaciones_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for id field
     //
     $column = new TextViewColumn('id', 'Id', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for num_req_padre field
     //
     $column = new TextViewColumn('num_req_padre', 'MrCoo', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for num_req_hijo field
     //
     $column = new TextViewColumn('num_req_hijo', 'Caso de Uso', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for etapa field
     //
     $column = new TextViewColumn('etapa', 'Etapa de Planificación', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for descripcion field
     //
     $column = new TextViewColumn('descripcion', 'Descripcion', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for criterios_aceptacion field
     //
     $column = new TextViewColumn('criterios_aceptacion', 'Criterios Aceptacion', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for esfuerzo field
     //
     $column = new TextViewColumn('esfuerzo', 'Esfuerzo', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for observaciones field
     //
     $column = new TextViewColumn('observaciones', 'Observaciones', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     return $result;
 }
 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_paquete field
     //
     $column = new TextViewColumn('id_paquete', 'CMO', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for nombre field
     //
     $column = new TextViewColumn('nombre', 'Nombre del Objeto', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for ruta field
     //
     $column = new TextViewColumn('ruta', 'Ruta', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('objeto_refactorizacionGrid_ruta_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $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);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for aplicacion field
     //
     $column = new TextViewColumn('aplicacion', 'Aplicación', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for nuevo field
     //
     $column = new TextViewColumn('nuevo', 'Nuevo', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for id_noconforme field
     //
     $column = new TextViewColumn('id_noconforme', 'Número NC', $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 Fecha field
     //
     $column = new TextViewColumn('Fecha', 'Fecha', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $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('dbo_TamanoBaseDatosGrid_Nombre_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for TamanobdMB field
     //
     $column = new TextViewColumn('TamanobdMB', 'TamanobdMB', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for LogbdMB field
     //
     $column = new TextViewColumn('LogbdMB', 'LogbdMB', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for TotalbdMB field
     //
     $column = new TextViewColumn('TotalbdMB', 'TotalbdMB', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for TamanobdGB field
     //
     $column = new TextViewColumn('TamanobdGB', 'TamanobdGB', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for LogbdGB field
     //
     $column = new TextViewColumn('LogbdGB', 'LogbdGB', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for TotalbdGB field
     //
     $column = new TextViewColumn('TotalbdGB', 'TotalbdGB', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
 protected function AddFieldColumns(Grid $grid)
 {
     //
     // View column for EventType field
     //
     $column = new TextViewColumn('EventType', 'EventType', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for ObjectName field
     //
     $column = new TextViewColumn('ObjectName', 'ObjectName', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('dbo_AlterLogGrid_ObjectName_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for ObjectType field
     //
     $column = new TextViewColumn('ObjectType', 'ObjectType', $this->dataset);
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
     //
     // View column for EventTime field
     //
     $column = new DateTimeViewColumn('EventTime', 'EventTime', $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);
     //
     // View column for DatabaseName field
     //
     $column = new TextViewColumn('DatabaseName', 'DatabaseName', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('dbo_AlterLogGrid_DatabaseName_handler_list');
     $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_AlterLogGrid_HostName_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $grid->AddViewColumn($column);
 }
 function CreateMasterDetailRecordGridFordbo_procesosDetailEdit1dbo_BaseDatosGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridFordbo_procesosDetailEdit1dbo_BaseDatos');
     $result->SetAllowDeleteSelected(false);
     $result->SetShowFilterBuilder(false);
     $result->SetAdvancedSearchAvailable(false);
     $result->SetShowUpdateLink(false);
     $result->SetEnabledInlineEditing(false);
     $result->SetShowKeyColumnsImagesInHeader(false);
     $result->SetName('master_grid');
     $result->SetViewMode(ViewMode::CARD);
     $result->SetCardCountInRow(1);
     $result->setEnableRuntimeCustomization(false);
     $result->setTableBordered(false);
     $result->setTableCondensed(false);
     //
     // View column for base_datos field
     //
     $column = new TextViewColumn('base_datos', 'Base Datos', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('dbo_BaseDatosGrid_base_datos_handler_list');
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for fecha_creacion field
     //
     $column = new DateTimeViewColumn('fecha_creacion', 'Fecha Creacion', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d H:i:s');
     $column->SetOrderable(true);
     $column->setMinimalVisibility(ColumnVisibility::PHONE);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for base_datos field
     //
     $column = new TextViewColumn('base_datos', 'Base Datos', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for fecha_creacion field
     //
     $column = new DateTimeViewColumn('fecha_creacion', 'Fecha Creacion', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d H:i:s');
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     return $result;
 }