Esempio n. 1
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'offerte_dettaglio_articoliDetailViewGrid0offerte');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(true);
     $result->SetAllowOrdering(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     return $result;
 }
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'project_timeline_detailDetailViewGrid2project');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     return $result;
 }
Esempio n. 3
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'ProjectViewDetailViewGrid2project');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     //
     // View column for project_name field
     //
     $column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'ProjectViewDetailViewGrid2project_project_name_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for priority field
     //
     $column = new TextViewColumn('priority', 'Priority', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'ProjectViewDetailViewGrid2project_priority_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for project_lead field
     //
     $column = new TextViewColumn('project_lead', 'Project Lead', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'ProjectViewDetailViewGrid2project_project_lead_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for public_engagement field
     //
     $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'ProjectViewDetailViewGrid2project_public_engagement_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
Esempio n. 4
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'facturas_abonosDetailViewGrid0facturas');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     //
     // View column for NombreCuenta field
     //
     $column = new TextViewColumn('NombreCuenta', 'NombreCuenta', $this->dataset);
     $column->SetOrderable(false);
     /* <inline edit column> */
     //
     // Edit column for NombreCuenta field
     //
     $editor = new TextAreaEdit('nombrecuenta_edit', 50, 8);
     $editColumn = new CustomEditColumn('NombreCuenta', 'NombreCuenta', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for NombreCuenta field
     //
     $editor = new TextAreaEdit('nombrecuenta_edit', 50, 8);
     $editColumn = new CustomEditColumn('NombreCuenta', 'NombreCuenta', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'NombreCuenta_handler', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
Esempio n. 5
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'timesheetDetailViewGrid0task');
     $result->SetAllowDeleteSelected(false);
     $result->SetInsertClientValidationScript($this->RenderText('if (fieldValues[\'date\'] > %CURRENT_DATE% INTERVAL 14 DAY )
         {
           errorInfo.SetMessage(\'Date Must be no older than 14 days\');
           return false;
         }'));
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $result->OnCustomRenderTotal->AddListener('timesheetDetailViewGrid0task' . '_' . 'OnCustomRenderTotal', $this);
     $result->BeforeInsertRecord->AddListener('timesheetDetailViewGrid0task' . '_' . 'BeforeInsertRecord', $this);
     $this->AddFieldColumns($result);
     //
     // View column for name field
     //
     $column = new TextViewColumn('name', 'Name', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'timesheetDetailViewGrid0task_name_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Notes', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'timesheetDetailViewGrid0task_notes_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'projectDetailViewGrid0program');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     //
     // View column for project_name field
     //
     $column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'projectDetailViewGrid0program_project_name_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Notes', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'projectDetailViewGrid0program_notes_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'objeto_planificacionDetailViewGrid1planificacion');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetShowKeyColumnsImagesInHeader(false);
     $result->SetViewMode(ViewMode::TABLE);
     $result->setEnableRuntimeCustomization(true);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     //
     // View column for ruta field
     //
     $column = new TextViewColumn('ruta', 'Ruta', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'objeto_planificacionDetailViewGrid1planificacion_ruta_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
Esempio n. 8
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'kardexmercanciasDetailViewGrid0imv');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     //
     // View column for Detalle field
     //
     $column = new TextViewColumn('Detalle', 'Detalle', $this->dataset);
     $column->SetOrderable(false);
     /* <inline edit column> */
     //
     // Edit column for Detalle field
     //
     $editor = new TextAreaEdit('detalle_edit', 50, 8);
     $editColumn = new CustomEditColumn('Detalle', 'Detalle', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for Detalle field
     //
     $editor = new TextAreaEdit('detalle_edit', 50, 8);
     $editColumn = new CustomEditColumn('Detalle', 'Detalle', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'Detalle_handler', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
Esempio n. 9
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'act_movimientosDetailViewGrid0activos');
     $result->SetAllowDeleteSelected(false);
     $result->SetDefaultOrdering('idAct_Movimientos', otDescending);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     //
     // View column for Entrega field
     //
     $column = new TextViewColumn('Entrega', 'Entrega', $this->dataset);
     $column->SetOrderable(false);
     /* <inline edit column> */
     //
     // Edit column for Entrega field
     //
     $editor = new TextEdit('entrega_edit');
     $editor->SetSize(100);
     $editor->SetMaxLength(100);
     $editColumn = new CustomEditColumn('Entrega', 'Entrega', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for Entrega field
     //
     $editor = new TextEdit('entrega_edit');
     $editor->SetSize(100);
     $editor->SetMaxLength(100);
     $editColumn = new CustomEditColumn('Entrega', 'Entrega', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'Entrega_handler', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for Recibe field
     //
     $column = new TextViewColumn('Recibe', 'Recibe', $this->dataset);
     $column->SetOrderable(false);
     /* <inline edit column> */
     //
     // Edit column for Recibe field
     //
     $editor = new TextEdit('recibe_edit');
     $editor->SetSize(100);
     $editor->SetMaxLength(100);
     $editColumn = new CustomEditColumn('Recibe', 'Recibe', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for Recibe field
     //
     $editor = new TextEdit('recibe_edit');
     $editor->SetSize(100);
     $editor->SetMaxLength(100);
     $editColumn = new CustomEditColumn('Recibe', 'Recibe', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'Recibe_handler', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for MotivoMovimiento field
     //
     $column = new TextViewColumn('MotivoMovimiento', 'MotivoMovimiento', $this->dataset);
     $column->SetOrderable(false);
     /* <inline edit column> */
     //
     // Edit column for MotivoMovimiento field
     //
     $editor = new TextAreaEdit('motivomovimiento_edit', 50, 8);
     $editColumn = new CustomEditColumn('MotivoMovimiento', 'MotivoMovimiento', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for MotivoMovimiento field
     //
     $editor = new TextAreaEdit('motivomovimiento_edit', 50, 8);
     $editColumn = new CustomEditColumn('MotivoMovimiento', 'MotivoMovimiento', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'MotivoMovimiento_handler', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for Observaciones field
     //
     $column = new TextViewColumn('Observaciones', 'Observaciones', $this->dataset);
     $column->SetOrderable(false);
     /* <inline edit column> */
     //
     // Edit column for Observaciones field
     //
     $editor = new TextAreaEdit('observaciones_edit', 50, 8);
     $editColumn = new CustomEditColumn('Observaciones', 'Observaciones', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for Observaciones field
     //
     $editor = new TextAreaEdit('observaciones_edit', 50, 8);
     $editColumn = new CustomEditColumn('Observaciones', 'Observaciones', $editor, $this->dataset);
     $validator = new RequiredValidator(StringUtils::Format($this->GetLocalizerCaptions()->GetMessageString('RequiredValidationMessage'), $this->RenderText($editColumn->GetCaption())));
     $editor->GetValidatorCollection()->AddValidator($validator);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'Observaciones_handler', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
Esempio n. 10
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'dbo_procesosDetailViewGrid1dbo_BaseDatos');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetShowKeyColumnsImagesInHeader(false);
     $result->SetViewMode(ViewMode::TABLE);
     $result->setEnableRuntimeCustomization(false);
     $result->setTableBordered(false);
     $result->setTableCondensed(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->AddFieldColumns($result);
     //
     // View column for HostName field
     //
     $column = new TextViewColumn('HostName', 'HostName', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'dbo_procesosDetailViewGrid1dbo_BaseDatos_HostName_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for User field
     //
     $column = new TextViewColumn('User', 'User', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'dbo_procesosDetailViewGrid1dbo_BaseDatos_User_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for Database field
     //
     $column = new TextViewColumn('Database', 'Database', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'dbo_procesosDetailViewGrid1dbo_BaseDatos_Database_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for Application field
     //
     $column = new TextViewColumn('Application', 'Application', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'dbo_procesosDetailViewGrid1dbo_BaseDatos_Application_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
Esempio n. 11
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'articoliDetailViewGrid0famiglie');
     $result->SetAllowDeleteSelected(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(true);
     $result->SetAllowOrdering(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $result->BeforeUpdateRecord->AddListener('articoliDetailViewGrid0famiglie' . '_' . 'BeforeUpdateRecord', $this);
     $result->BeforeInsertRecord->AddListener('articoliDetailViewGrid0famiglie' . '_' . 'BeforeInsertRecord', $this);
     $this->AddFieldColumns($result);
     //
     // View column for art-descart field
     //
     $column = new TextViewColumn('art-descart', 'Descrizione', $this->dataset);
     $column->SetOrderable(false);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'articoliDetailViewGrid0famiglie_art-descart_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }