protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_persona field // $column = new TextViewColumn('id_persona', 'Id Persona', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_tipo_persona field // $column = new TextViewColumn('id_tipo_persona_no_tipo_persona', 'Id Tipo Persona', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for co_dni_cuit field // $column = new TextViewColumn('co_dni_cuit', 'Dni Cuit', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for co_legajo field // $column = new TextViewColumn('co_legajo', 'Legajo', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_persona field // $column = new TextViewColumn('no_persona', 'Nombre Persona', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_ods_personaGrid_no_persona_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for no_empresa field // $column = new TextViewColumn('id_empresa_no_empresa', 'Id Empresa', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_area field // $column = new TextViewColumn('id_area_no_area', 'Id Area', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_tipo_espacio field // $column = new TextViewColumn('id_tipo_espacio', 'Id Tipo Espacio', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_tipo_espacio field // $column = new TextViewColumn('no_tipo_espacio', 'No Tipo Espacio', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_tipo_espacioGrid_no_tipo_espacio_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for no_tipo_espacio field // $column = new TextViewColumn('id_tipo_espacio_padre_no_tipo_espacio', 'Id Tipo Espacio Padre', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('ds_referencia', 'Ds Referencia', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_tipo_espacioGrid_ds_referencia_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_periodicidad field // $column = new TextViewColumn('id_periodicidad', 'Id Periodicidad', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_periodicidad field // $column = new TextViewColumn('no_periodicidad', 'Nombre Periodicidad', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_periodicidadGrid_no_periodicidad_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for va_frecuencia field // $column = new TextViewColumn('va_frecuencia', 'Frecuencia', $this->dataset); $column->SetOrderable(true); $column = new NumberFormatValueViewColumnDecorator($column, 4, ',', '.'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for first_name field // $column = new TextViewColumn('first_name', 'First Name', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for middle_name field // $column = new TextViewColumn('middle_name', 'Middle Name', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for last_name field // $column = new TextViewColumn('last_name', 'Last Name', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for party_affiliation field // $column = new TextViewColumn('party_affiliation', 'Party Affiliation', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for address1 field // $column = new TextViewColumn('address1', 'Address1', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for address2 field // $column = new TextViewColumn('address2', 'Address2', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for city field // $column = new TextViewColumn('city', 'City', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for state field // $column = new TextViewColumn('state', 'State', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for zip field // $column = new TextViewColumn('zip', 'Zip', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for phone field // $column = new TextViewColumn('phone', 'Phone', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for fax field // $column = new TextViewColumn('fax', 'Fax', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for email_address field // $column = new TextViewColumn('email_address', 'Email Address', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for website field // $column = new TextViewColumn('website', 'Website', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for user_id field // $column = new TextViewColumn('user_id', 'User Id', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for page_name field // $column = new TextViewColumn('page_name', 'Page Name', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('phpgen_user_permsGrid_page_name_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for perm_name field // $column = new TextViewColumn('perm_name', 'Perm Name', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_tarea_plan field // $column = new TextViewColumn('id_tarea_plan', 'Id Tarea Plan', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('ds_referencia', 'Descripción', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_tarea_planGrid_ds_referencia_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for fe_inicio field // $column = new DateTimeViewColumn('fe_inicio', 'Fecha Início', $this->dataset); $column->SetDateTimeFormat('d/m/Y H:i:s'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for EVENTO_ID field // $column = new TextViewColumn('EVENTO_ID', 'EVENTO ID', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for NOMBRE field // $column = new TextViewColumn('NOMBRE', 'NOMBRE', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for FECHA_HORA field // $column = new DateTimeViewColumn('FECHA_HORA', 'FECHA HORA', $this->dataset); $column->SetDateTimeFormat('Y-m-d'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for LUGAR field // $column = new TextViewColumn('LUGAR', 'LUGAR', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($column); // // View column for FEC_CREACION field // $column = new DateTimeViewColumn('FEC_CREACION', 'FEC CREACION', $this->dataset); $column->SetDateTimeFormat('Y-m-d'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for USUARIO_CREACION field // $column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for FEC_ULTIMA_MOD field // $column = new DateTimeViewColumn('FEC_ULTIMA_MOD', 'FEC ULTIMA MOD', $this->dataset); $column->SetDateTimeFormat('Y-m-d'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for USUARIO_ULTIMA_MOD field // $column = new TextViewColumn('USUARIO_ULTIMA_MOD', 'USUARIO ULTIMA MOD', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for NOMBRE field // $column = new TextViewColumn('LA1', 'CIUDAD', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for title field // $column = new TextViewColumn('office_id_title', 'Office Title', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for name field // $column = new TextViewColumn('name', 'Document Name or Description', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for link field // $column = new TextViewColumn('link', 'URL to Document', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_office_docsGrid_link_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_espacio field // $column = new TextViewColumn('id_espacio', 'Id Espacio', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('id_espacio_contenedor_ds_referencia', 'Espacio Contenedor', $this->dataset); $column->SetOrderable(true); $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'espacio.php?operation=view&pk0=%id_espacio_contenedor%' , '_self'); $grid->AddSingleRecordViewColumn($column); // // View column for co_espacio field // $column = new TextViewColumn('co_espacio', 'Código Espacio', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_espacio field // $column = new TextViewColumn('no_espacio', 'Nombre Espacio', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_espacioGrid_no_espacio_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for co_plano field // $column = new TextViewColumn('co_plano', 'Código Plano', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_planta field // $column = new TextViewColumn('id_planta_no_planta', 'Planta', $this->dataset); $column->SetOrderable(true); $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'planta.php?operation=view&pk0=%id_planta%' , '_self'); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('ds_referencia', 'Referencia', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_espacioGrid_ds_referencia_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for rpt_id field // $column = new TextViewColumn('rpt_id', 'Rpt Id', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for rpt_name field // $column = new TextViewColumn('rpt_name', 'Rpt Name', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('GE_webreportsGrid_rpt_name_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for rpt_title field // $column = new TextViewColumn('rpt_title', 'Rpt Title', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('GE_webreportsGrid_rpt_title_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for rpt_cdate field // $column = new DateTimeViewColumn('rpt_cdate', 'Rpt Cdate', $this->dataset); $column->SetDateTimeFormat('Y-m-d'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for rpt_mdate field // $column = new DateTimeViewColumn('rpt_mdate', 'Rpt Mdate', $this->dataset); $column->SetDateTimeFormat('Y-m-d'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for rpt_content field // $column = new DownloadDataColumn('rpt_content', 'Rpt Content', $this->dataset, $this->GetLocalizerCaptions()->GetMessageString('Download')); $grid->AddSingleRecordViewColumn($column); // // View column for rpt_owner field // $column = new TextViewColumn('rpt_owner', 'Rpt Owner', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('GE_webreportsGrid_rpt_owner_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for rpt_status field // $column = new TextViewColumn('rpt_status', 'Rpt Status', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for rpt_type field // $column = new TextViewColumn('rpt_type', 'Rpt Type', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for codice field // $column = new TextViewColumn('codice', 'Codice', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for formula field // $column = new TextViewColumn('formula', 'Formula', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('formule_calcoloGrid_formula_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for datains field // $column = new DateTimeViewColumn('datains', 'Datains', $this->dataset); $column->SetDateTimeFormat('d-m-Y H:i:s'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for datamod field // $column = new DateTimeViewColumn('datamod', 'Datamod', $this->dataset); $column->SetDateTimeFormat('d-m-Y H:i:s'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for descrizione field // $column = new TextViewColumn('descrizione', 'Descrizione', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('formule_calcoloGrid_descrizione_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_bien field // $column = new TextViewColumn('id_bien', 'Id Bien', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('id_tipo_bien_ds_referencia', 'Id Tipo Bien', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for co_espacio field // $column = new TextViewColumn('id_espacio_co_espacio', 'Id Espacio', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for ds_observacion field // $column = new TextViewColumn('ds_observacion', 'Ds Observacion', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_ods_bienGrid_ds_observacion_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for idFacturasAbonos field // $column = new TextViewColumn('idFacturasAbonos', 'IdFacturasAbonos', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Fecha field // $column = new TextViewColumn('Fecha', 'Fecha', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Monto field // $column = new TextViewColumn('Monto', 'Monto', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for CuentaIngreso field // $column = new TextViewColumn('CuentaIngreso', 'CuentaIngreso', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for NombreCuenta field // $column = new TextViewColumn('NombreCuenta', 'NombreCuenta', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('NombreCuenta_handler'); $grid->AddSingleRecordViewColumn($column); // // View column for Usuarios_idUsuarios field // $column = new TextViewColumn('Usuarios_idUsuarios', 'Usuarios IdUsuarios', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Facturas_idFacturas field // $column = new TextViewColumn('Facturas_idFacturas', 'Facturas IdFacturas', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for CerradoDiario field // $column = new TextViewColumn('CerradoDiario', 'CerradoDiario', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for FechaCierreDiario field // $column = new TextViewColumn('FechaCierreDiario', 'FechaCierreDiario', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for HoraCierreDiario field // $column = new TextViewColumn('HoraCierreDiario', 'HoraCierreDiario', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for idAct_Movimientos field // $column = new TextViewColumn('idAct_Movimientos', 'IdAct Movimientos', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Fecha field // $column = new TextViewColumn('Fecha', 'Fecha', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Movimiento field // $column = new TextViewColumn('Movimiento', 'Movimiento', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Origen field // $column = new TextViewColumn('Origen', 'Origen', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Destino field // $column = new TextViewColumn('Destino', 'Destino', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Entrega field // $column = new TextViewColumn('Entrega', 'Entrega', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('Entrega_handler'); $grid->AddSingleRecordViewColumn($column); // // View column for Recibe field // $column = new TextViewColumn('Recibe', 'Recibe', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('Recibe_handler'); $grid->AddSingleRecordViewColumn($column); // // View column for Estado field // $column = new TextViewColumn('Estado', 'Estado', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for MotivoMovimiento field // $column = new TextViewColumn('MotivoMovimiento', 'MotivoMovimiento', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('MotivoMovimiento_handler'); $grid->AddSingleRecordViewColumn($column); // // View column for Observaciones field // $column = new TextViewColumn('Observaciones', 'Observaciones', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('Observaciones_handler'); $grid->AddSingleRecordViewColumn($column); // // View column for NumOrden field // $column = new TextViewColumn('NumOrden', 'NumOrden', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for BodegaDestino field // $column = new TextViewColumn('BodegaDestino', 'BodegaDestino', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for idActivo field // $column = new TextViewColumn('idActivo', 'IdActivo', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for descrizione field // $column = new TextViewColumn('lis-codart_descrizione', 'Codice Articolo', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for lisdesc field // $column = new TextViewColumn('lisdesc', 'Descrizione', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('listino_articoliGrid_lisdesc_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for lis-unimis field // $column = new TextViewColumn('lis-unimis', 'Unità misura', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for lis-przacq field // $column = new TextViewColumn('lis-przacq', 'Prezzo acquisto', $this->dataset); $column->SetOrderable(true); $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ','); $grid->AddSingleRecordViewColumn($column); // // View column for lis-moltipl field // $column = new TextViewColumn('lis-moltipl', 'Moltiplicatore', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for lis-oneriacc field // $column = new TextViewColumn('lis-oneriacc', 'Oneri e accessori', $this->dataset); $column->SetOrderable(true); $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ','); $grid->AddSingleRecordViewColumn($column); // // View column for lis-scarto field // $column = new TextViewColumn('lis-scarto', 'Scarto', $this->dataset); $column->SetOrderable(true); $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ','); $grid->AddSingleRecordViewColumn($column); // // View column for lis-dataini field // $column = new DateTimeViewColumn('lis-dataini', 'Data inizio decorrenza', $this->dataset); $column->SetDateTimeFormat('d-m-Y'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for lis-datafin field // $column = new DateTimeViewColumn('lis-datafin', 'Data fine decorrenza', $this->dataset); $column->SetDateTimeFormat('d-m-Y'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_espacio field // $column = new TextViewColumn('id_espacio', 'Id Espacio', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('id_tipo_espacio_ds_referencia', 'Id Tipo Espacio', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for co_espacio field // $column = new TextViewColumn('id_espacio_contenedor_co_espacio', 'Id Espacio Contenedor', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for co_espacio field // $column = new TextViewColumn('co_espacio', 'Código Espacio', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_espacio field // $column = new TextViewColumn('no_espacio', 'Nombre Espacio', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_ods_espacioGrid_no_espacio_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for nu_planta field // $column = new TextViewColumn('nu_planta', 'Número Planta', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for co_plano field // $column = new TextViewColumn('co_plano', 'Código Plano', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id field // $column = new TextViewColumn('id', 'Id', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for id_planificacion field // $column = new TextViewColumn('id_planificacion', 'Id Planificacion', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for descripcion field // $column = new TextViewColumn('descripcion', 'Descripcion', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('actividadGrid_descripcion_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for esfuerzo field // $column = new TextViewColumn('esfuerzo', 'Esfuerzo', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for cli-codcli field // $column = new TextViewColumn('cli-codcli', 'Cli-codcli', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for descrizione field // $column = new TextViewColumn('descrizione', 'Descrizione', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('elenco_clienti_viewGrid_descrizione_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_tipo_persona field // $column = new TextViewColumn('id_tipo_persona', 'Id Tipo Persona', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id field // $column = new TextViewColumn('id', 'Id', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for habilitacion field // $column = new TextViewColumn('habilitacion', 'Habilitacion', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for nit field // $column = new TextViewColumn('nit', 'Nit', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for nombre field // $column = new TextViewColumn('nombre', 'Nombre', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('nombre_handler'); $grid->AddSingleRecordViewColumn($column); // // View column for tipo field // $column = new TextViewColumn('tipo', 'Tipo', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for direccion field // $column = new TextViewColumn('direccion', 'Direccion', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for telefono field // $column = new TextViewColumn('telefono', 'Telefono', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for depto field // $column = new TextViewColumn('depto', 'Depto', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('depto_handler'); $grid->AddSingleRecordViewColumn($column); // // View column for mupio field // $column = new TextViewColumn('mupio', 'Mupio', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('mupio_handler'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for Process ID field // $column = new TextViewColumn('Process ID', 'Process ID', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($column); // // View column for Status field // $column = new TextViewColumn('Status', 'Status', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for CPU field // $column = new TextViewColumn('CPU', 'CPU', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Physical IO field // $column = new TextViewColumn('Physical IO', 'Physical IO', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for project_id field // $column = new TextViewColumn('project_id', 'Project Id', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for project_type field // $column = new TextViewColumn('project_type', 'Project Type', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for project_name field // $column = new TextViewColumn('project_name', 'Project Name', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('ProjectViewGrid_project_name_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for date_start field // $column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset); $column->SetDateTimeFormat('Y-m-d H:i:s'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for date_end field // $column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset); $column->SetDateTimeFormat('Y-m-d H:i:s'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for year field // $column = new TextViewColumn('year', 'Year', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for Objective field // $column = new TextViewColumn('Objective', 'Objective', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for priority field // $column = new TextViewColumn('priority', 'Priority', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('ProjectViewGrid_priority_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for project_lead field // $column = new TextViewColumn('project_lead', 'Project Lead', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('ProjectViewGrid_project_lead_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for approved_budget field // $column = new TextViewColumn('approved_budget', 'Approved Budget', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for budget_spent field // $column = new TextViewColumn('budget_spent', 'Budget Spent', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for multi_year field // $column = new TextViewColumn('multi_year', 'Multi Year', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for public_engagement field // $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('ProjectViewGrid_public_engagement_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for level_of_service field // $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for approved_by_cao field // $column = new TextViewColumn('approved_by_cao', 'Approved By Cao', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for progress field // $column = new TextViewColumn('progress', 'Progress', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for DEPARTMENT field // $column = new TextViewColumn('DEPARTMENT', 'DEPARTMENT', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for total_hours field // $column = new TextViewColumn('total_hours', 'Total Hours', $this->dataset); $column->SetOrderable(true); $column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.'); $grid->AddSingleRecordViewColumn($column); // // View column for assigned_hours field // $column = new TextViewColumn('assigned_hours', 'Assigned Hours', $this->dataset); $column->SetOrderable(true); $column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.'); $grid->AddSingleRecordViewColumn($column); // // View column for assigned_progress field // $column = new TextViewColumn('assigned_progress', 'Assigned Progress', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_actividad field // $column = new TextViewColumn('id_actividad', 'Id Actividad', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('id_actividad_padre_ds_referencia', 'Actividad Padre', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('ds_referencia', 'Ds Referencia', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_ods_actividadGrid_ds_referencia_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_lugar field // $column = new TextViewColumn('id_lugar', 'Id Lugar', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for co_lugar field // $column = new TextViewColumn('co_lugar', 'Código Lugar', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_lugar field // $column = new TextViewColumn('no_lugar', 'Nombre Lugar', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_ods_lugarGrid_no_lugar_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for ds_direccion field // $column = new TextViewColumn('ds_direccion', 'Direccion', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_ods_lugarGrid_ds_direccion_handler_view'); $grid->AddSingleRecordViewColumn($column); }
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; }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_origen_lectura field // $column = new TextViewColumn('id_origen_lectura', 'Id Origen Lectura', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for co_origen_lectura field // $column = new TextViewColumn('co_origen_lectura', 'Código Origen Lectura', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_origen_lectura field // $column = new TextViewColumn('no_origen_lectura', 'Nombre Origen Lectura', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_ods_origen_lecturaGrid_no_origen_lectura_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_accion field // $column = new TextViewColumn('id_accion', 'Id Accion', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($column); // // View column for no_origen field // $column = new TextViewColumn('id_origen_no_origen', 'Origen', $this->dataset); $column->SetOrderable(true); $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'origen.php?operation=view&pk0=%id_origen%' , '_self'); $grid->AddSingleRecordViewColumn($column); // // 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'); $grid->AddSingleRecordViewColumn($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'); $grid->AddSingleRecordViewColumn($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('')); $grid->AddSingleRecordViewColumn($column); // // View column for nu_personas field // $column = new TextViewColumn('nu_personas', 'Personas', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for tm_carga_horaria field // $column = new DateTimeViewColumn('tm_carga_horaria', 'Carga Horária', $this->dataset); $column->SetDateTimeFormat('H:i:s'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($column); // // View column for ds_referencia field // $column = new TextViewColumn('ds_referencia', 'Descripción', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_accionGrid_ds_referencia_handler_view'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for id_metodologia field // $column = new TextViewColumn('id_metodologia', 'Id Metodologia', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for no_metodologia field // $column = new TextViewColumn('no_metodologia', 'Nombre', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_metodologiaGrid_no_metodologia_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for ds_metodologia field // $column = new TextViewColumn('ds_metodologia', 'Descripción Metodo', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('public_sga_metodologiaGrid_ds_metodologia_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for no_origen field // $column = new TextViewColumn('id_origen_no_origen', 'Origen', $this->dataset); $column->SetOrderable(true); $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'origen.php?operation=view&pk0=%id_origen%' , '_self'); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for USERNAME field // $column = new TextViewColumn('USERNAME', 'USERNAME', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for ES_ADMIN field // $column = new TextViewColumn('ES_ADMIN', 'ES ADMIN', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for NACIMIENTO field // $column = new DateTimeViewColumn('NACIMIENTO', 'NACIMIENTO', $this->dataset); $column->SetDateTimeFormat('Y-m-d'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for PRIMER_APELLIDO field // $column = new TextViewColumn('PRIMER_APELLIDO', 'PRIMER APELLIDO', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for SEGUNDO_APELLIDO field // $column = new TextViewColumn('SEGUNDO_APELLIDO', 'SEGUNDO APELLIDO', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for NOMBRE field // $column = new TextViewColumn('NOMBRE', 'NOMBRE', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for NOMBRE field // $column = new TextViewColumn('LA1', 'GENERO ID', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for NOMBRE field // $column = new TextViewColumn('LA2', 'CIUDAD ID', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($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_view'); $grid->AddSingleRecordViewColumn($column); // // View column for FEC_CREACION field // $column = new DateTimeViewColumn('FEC_CREACION', 'FEC CREACION', $this->dataset); $column->SetDateTimeFormat('Y-m-d'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for USUARIO_CREACION field // $column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for FEC_ULTIMA_MOD field // $column = new DateTimeViewColumn('FEC_ULTIMA_MOD', 'FEC ULTIMA MOD', $this->dataset); $column->SetDateTimeFormat('Y-m-d'); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for USUARIO_ULTIMA_MOD field // $column = new TextViewColumn('USUARIO_ULTIMA_MOD', 'USUARIO ULTIMA MOD', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for EMAIL field // $column = new TextViewColumn('EMAIL', 'EMAIL', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('GE_PERSONAGrid_EMAIL_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for CLAVE field // $column = new TextViewColumn('CLAVE', 'CLAVE', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); }
protected function AddSingleRecordViewColumns(Grid $grid) { // // View column for task_name field // $column = new TextViewColumn('task_name', 'Task Name', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('field_namesGrid_task_name_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for priority_name field // $column = new TextViewColumn('priority_name', 'Priority Name', $this->dataset); $column->SetOrderable(true); $grid->AddSingleRecordViewColumn($column); // // View column for public_engagement field // $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('field_namesGrid_public_engagement_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for level_of_service field // $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('field_namesGrid_level_of_service_handler_view'); $grid->AddSingleRecordViewColumn($column); // // View column for project_type field // $column = new TextViewColumn('project_type', 'Project Type', $this->dataset); $column->SetOrderable(true); $column->SetMaxLength(75); $column->SetFullTextWindowHandlerName('field_namesGrid_project_type_handler_view'); $grid->AddSingleRecordViewColumn($column); }