protected function CreateComponents()
 {
     $this->grid = $this->CreateGrid();
     $this->grid->SetFilterRowAvailable($this->GetFilterRowAvailable());
     // remove: search controls must be configured from the generated code
     $this->grid->UpdateSearchControls();
     $this->pageNavigator = $this->CreatePageNavigator();
     $this->httpHandlerName = null;
     $this->FillPageNavigatorStack();
     $this->RegisterHandlers();
 }
 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;
 }
Beispiel #3
0
 function CreateMasterDetailRecordGridForfacturas_abonosDetailEdit0facturasGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForfacturas_abonosDetailEdit0facturas');
     $result->SetAllowDeleteSelected(false);
     $result->SetShowFilterBuilder(false);
     $result->SetAdvancedSearchAvailable(false);
     $result->SetFilterRowAvailable(false);
     $result->SetShowUpdateLink(false);
     $result->SetEnabledInlineEditing(false);
     $result->SetName('master_grid');
     //
     // View column for idFacturas field
     //
     $column = new TextViewColumn('idFacturas', 'IdFacturas', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Fecha field
     //
     $column = new TextViewColumn('Fecha', 'Fecha', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for OCompra field
     //
     $column = new TextViewColumn('OCompra', 'OCompra', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for OSalida field
     //
     $column = new TextViewColumn('OSalida', 'OSalida', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for FormaPago field
     //
     $column = new TextViewColumn('FormaPago', 'FormaPago', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Subtotal field
     //
     $column = new TextViewColumn('Subtotal', 'Subtotal', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for IVA field
     //
     $column = new TextViewColumn('IVA', 'IVA', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Descuentos field
     //
     $column = new TextViewColumn('Descuentos', 'Descuentos', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Total field
     //
     $column = new TextViewColumn('Total', 'Total', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for SaldoFact field
     //
     $column = new TextViewColumn('SaldoFact', 'SaldoFact', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for TotalCostos field
     //
     $column = new TextViewColumn('TotalCostos', 'TotalCostos', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Cotizaciones_idCotizaciones field
     //
     $column = new TextViewColumn('Cotizaciones_idCotizaciones', 'Cotizaciones IdCotizaciones', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for EmpresaPro_idEmpresaPro field
     //
     $column = new TextViewColumn('EmpresaPro_idEmpresaPro', 'EmpresaPro IdEmpresaPro', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Usuarios_idUsuarios field
     //
     $column = new TextViewColumn('Usuarios_idUsuarios', 'Usuarios IdUsuarios', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Clientes_idClientes field
     //
     $column = new TextViewColumn('Clientes_idClientes', 'Clientes IdClientes', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for nombre field
     //
     $column = new TextViewColumn('CentroCosto_nombre', 'CentroCosto', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for idFacturas field
     //
     $column = new TextViewColumn('idFacturas', 'IdFacturas', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Fecha field
     //
     $column = new TextViewColumn('Fecha', 'Fecha', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for OCompra field
     //
     $column = new TextViewColumn('OCompra', 'OCompra', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for OSalida field
     //
     $column = new TextViewColumn('OSalida', 'OSalida', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for FormaPago field
     //
     $column = new TextViewColumn('FormaPago', 'FormaPago', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Subtotal field
     //
     $column = new TextViewColumn('Subtotal', 'Subtotal', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for IVA field
     //
     $column = new TextViewColumn('IVA', 'IVA', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Descuentos field
     //
     $column = new TextViewColumn('Descuentos', 'Descuentos', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Total field
     //
     $column = new TextViewColumn('Total', 'Total', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for SaldoFact field
     //
     $column = new TextViewColumn('SaldoFact', 'SaldoFact', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for TotalCostos field
     //
     $column = new TextViewColumn('TotalCostos', 'TotalCostos', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Cotizaciones_idCotizaciones field
     //
     $column = new TextViewColumn('Cotizaciones_idCotizaciones', 'Cotizaciones IdCotizaciones', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for EmpresaPro_idEmpresaPro field
     //
     $column = new TextViewColumn('EmpresaPro_idEmpresaPro', 'EmpresaPro IdEmpresaPro', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Usuarios_idUsuarios field
     //
     $column = new TextViewColumn('Usuarios_idUsuarios', 'Usuarios IdUsuarios', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Clientes_idClientes field
     //
     $column = new TextViewColumn('Clientes_idClientes', 'Clientes IdClientes', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for nombre field
     //
     $column = new TextViewColumn('CentroCosto_nombre', 'CentroCosto', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     return $result;
 }
Beispiel #4
0
 function CreateMasterDetailRecordGridForofferte_dettaglio_articoliDetailEdit0offerteGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForofferte_dettaglio_articoliDetailEdit0offerte');
     $result->SetAllowDeleteSelected(false);
     $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 off-numoff field
     //
     $column = new TextViewColumn('off-numoff', 'Off-numoff', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for cli-ragsoc field
     //
     $column = new TextViewColumn('off-codcli_cli-ragsoc', 'cod.Cliente', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for off-descriz field
     //
     $column = new TextViewColumn('off-descriz', 'Off-descriz', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for off-gg-termine-consegna field
     //
     $column = new TextViewColumn('off-gg-termine-consegna', 'Off-gg-termine-consegna', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for off-datains field
     //
     $column = new DateTimeViewColumn('off-datains', 'Data inserimento', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for off-dataeva field
     //
     $column = new DateTimeViewColumn('off-dataeva', 'Data evasione', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for datains field
     //
     $column = new DateTimeViewColumn('datains', 'Data ins', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y');
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for off-numoff field
     //
     $column = new TextViewColumn('off-numoff', 'Off-numoff', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for cli-ragsoc field
     //
     $column = new TextViewColumn('off-codcli_cli-ragsoc', 'cod.Cliente', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for off-descriz field
     //
     $column = new TextViewColumn('off-descriz', 'Off-descriz', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for off-gg-termine-consegna field
     //
     $column = new TextViewColumn('off-gg-termine-consegna', 'Off-gg-termine-consegna', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for off-datains field
     //
     $column = new DateTimeViewColumn('off-datains', 'Data inserimento', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y');
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for off-dataeva field
     //
     $column = new DateTimeViewColumn('off-dataeva', 'Data evasione', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y');
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for datains field
     //
     $column = new DateTimeViewColumn('datains', 'Data ins', $this->dataset);
     $column->SetDateTimeFormat('d-m-Y');
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     return $result;
 }
 function CreateMasterDetailRecordGridForprojectDetailEdit0programGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForprojectDetailEdit0program');
     $result->SetAllowDeleteSelected(false);
     $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('program_name', ' Name', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for description field
     //
     $column = new TextViewColumn('description', 'Description', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('programGrid_description_handler_list');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for username field
     //
     $column = new TextViewColumn('lead_username', 'Lead', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('programGrid_username_handler_list');
     $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 program_name field
     //
     $column = new TextViewColumn('program_name', ' Name', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for description field
     //
     $column = new TextViewColumn('description', 'Description', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for lead field
     //
     $column = new TextViewColumn('lead', 'Lead', $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);
     return $result;
 }
Beispiel #6
0
 function CreateMasterDetailRecordGridFortimesheetDetailEdit0taskGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridFortimesheetDetailEdit0task');
     $result->SetAllowDeleteSelected(false);
     $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 project_id field
     //
     $column = new TextViewColumn('project_id', 'Project', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'project.php?operation=view&pk0=%project_id%', '');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for task_name field
     //
     $column = new TextViewColumn('task_name', 'Name', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('taskGrid_task_name_handler_list');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Notes', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('taskGrid_notes_handler_list');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for hrs field
     //
     $column = new TextViewColumn('hrs', 'Allocated Hours', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // 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);
     $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 project_id field
     //
     $column = new TextViewColumn('project_id', 'Project', $this->dataset);
     $column->SetOrderable(true);
     $column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'project.php?operation=view&pk0=%project_id%', '');
     $result->AddPrintColumn($column);
     //
     // View column for task_name field
     //
     $column = new TextViewColumn('task_name', 'Task Name', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Notes', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for hrs field
     //
     $column = new TextViewColumn('hrs', 'Allocated Hours', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.');
     $result->AddPrintColumn($column);
     //
     // View column for assigned_to field
     //
     $column = new TextViewColumn('assigned_to', 'Assigned To', $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);
     return $result;
 }
Beispiel #7
0
 function CreateMasterDetailRecordGridForkardexmercanciasDetailEdit0imvGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForkardexmercanciasDetailEdit0imv');
     $result->SetAllowDeleteSelected(false);
     $result->SetShowFilterBuilder(false);
     $result->SetAdvancedSearchAvailable(false);
     $result->SetFilterRowAvailable(false);
     $result->SetShowUpdateLink(false);
     $result->SetEnabledInlineEditing(false);
     $result->SetName('master_grid');
     //
     // View column for id field
     //
     $column = new TextViewColumn('id', 'Id', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for cod_cups field
     //
     $column = new TextViewColumn('cod_cups', 'Cod Cups', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('cod_cups_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for cod_admin field
     //
     $column = new TextViewColumn('cod_admin', 'Cod Admin', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('cod_admin_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for cums field
     //
     $column = new TextViewColumn('cums', 'Cums', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('cums_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for nombre field
     //
     $column = new TextViewColumn('nombre', 'Nombre', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('nombre_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for tipo_imv field
     //
     $column = new TextViewColumn('tipo_imv', 'Tipo Imv', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('tipo_imv_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for forma_farmaceutica field
     //
     $column = new TextViewColumn('forma_farmaceutica', 'Forma Farmaceutica', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for concentracion field
     //
     $column = new TextViewColumn('concentracion', 'Concentracion', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for uni_medida field
     //
     $column = new TextViewColumn('uni_medida', 'Uni Medida', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('uni_medida_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for jeringa field
     //
     $column = new TextViewColumn('jeringa', 'Jeringa', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for dosis field
     //
     $column = new TextViewColumn('dosis', 'Dosis', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for cant_total field
     //
     $column = new TextViewColumn('cant_total', 'Cant Total', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for tipo_med field
     //
     $column = new TextViewColumn('tipo_med', 'Tipo Med', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('tipo_med_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for precio_venta field
     //
     $column = new TextViewColumn('precio_venta', 'Precio Venta', $this->dataset);
     $column->SetOrderable(true);
     $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 cod_cups field
     //
     $column = new TextViewColumn('cod_cups', 'Cod Cups', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for cod_admin field
     //
     $column = new TextViewColumn('cod_admin', 'Cod Admin', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for cums field
     //
     $column = new TextViewColumn('cums', 'Cums', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for nombre field
     //
     $column = new TextViewColumn('nombre', 'Nombre', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for tipo_imv field
     //
     $column = new TextViewColumn('tipo_imv', 'Tipo Imv', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for forma_farmaceutica field
     //
     $column = new TextViewColumn('forma_farmaceutica', 'Forma Farmaceutica', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for concentracion field
     //
     $column = new TextViewColumn('concentracion', 'Concentracion', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for uni_medida field
     //
     $column = new TextViewColumn('uni_medida', 'Uni Medida', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for jeringa field
     //
     $column = new TextViewColumn('jeringa', 'Jeringa', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for dosis field
     //
     $column = new TextViewColumn('dosis', 'Dosis', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for cant_total field
     //
     $column = new TextViewColumn('cant_total', 'Cant Total', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for tipo_med field
     //
     $column = new TextViewColumn('tipo_med', 'Tipo Med', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for precio_venta field
     //
     $column = new TextViewColumn('precio_venta', 'Precio Venta', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     return $result;
 }
Beispiel #8
0
 function CreateMasterDetailRecordGridForact_movimientosDetailEdit0activosGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForact_movimientosDetailEdit0activos');
     $result->SetAllowDeleteSelected(false);
     $result->SetShowFilterBuilder(false);
     $result->SetAdvancedSearchAvailable(false);
     $result->SetFilterRowAvailable(false);
     $result->SetShowUpdateLink(false);
     $result->SetEnabledInlineEditing(false);
     $result->SetName('master_grid');
     //
     // View column for idActivos field
     //
     $column = new TextViewColumn('idActivos', 'IdActivos', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Referencia field
     //
     $column = new TextViewColumn('Referencia', 'Referencia', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for NombreAct field
     //
     $column = new TextViewColumn('NombreAct', 'NombreAct', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('NombreAct_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Marca field
     //
     $column = new TextViewColumn('Marca', 'Marca', $this->dataset);
     $column->SetOrderable(true);
     $column->SetMaxLength(75);
     $column->SetFullTextWindowHandlerName('Marca_handler');
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Serie field
     //
     $column = new TextViewColumn('Serie', 'Serie', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for ValorEstimado field
     //
     $column = new TextViewColumn('ValorEstimado', 'ValorEstimado', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for Nombre field
     //
     $column = new TextViewColumn('Bodega_Nombre', 'Bodega', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for CuentaPUC field
     //
     $column = new TextViewColumn('CuentaPUC', 'CuentaPUC', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for idActivos field
     //
     $column = new TextViewColumn('idActivos', 'IdActivos', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Referencia field
     //
     $column = new TextViewColumn('Referencia', 'Referencia', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for NombreAct field
     //
     $column = new TextViewColumn('NombreAct', 'NombreAct', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Marca field
     //
     $column = new TextViewColumn('Marca', 'Marca', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Serie field
     //
     $column = new TextViewColumn('Serie', 'Serie', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for ValorEstimado field
     //
     $column = new TextViewColumn('ValorEstimado', 'ValorEstimado', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for Nombre field
     //
     $column = new TextViewColumn('Bodega_Nombre', 'Bodega', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for CuentaPUC field
     //
     $column = new TextViewColumn('CuentaPUC', 'CuentaPUC', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     return $result;
 }
Beispiel #9
0
 function CreateMasterDetailRecordGridForarticoliDetailEdit0famiglieGrid()
 {
     $result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForarticoliDetailEdit0famiglie');
     $result->SetAllowDeleteSelected(false);
     $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 fam-codfam field
     //
     $column = new TextViewColumn('fam-codfam', 'Codice famiglia', $this->dataset);
     $column->SetOrderable(true);
     $column->SetDescription($this->RenderText(''));
     $column->SetFixedWidth(null);
     $result->AddViewColumn($column);
     //
     // View column for fam-descriz field
     //
     $column = new TextViewColumn('fam-descriz', 'Descrizione', $this->dataset);
     $column->SetOrderable(true);
     $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 fam-codfam field
     //
     $column = new TextViewColumn('fam-codfam', 'Codice famiglia', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     //
     // View column for fam-descriz field
     //
     $column = new TextViewColumn('fam-descriz', 'Descrizione', $this->dataset);
     $column->SetOrderable(true);
     $result->AddPrintColumn($column);
     return $result;
 }