当前位置: 首页>>代码示例>>PHP>>正文


PHP TextViewColumn类代码示例

本文整理汇总了PHP中TextViewColumn的典型用法代码示例。如果您正苦于以下问题:PHP TextViewColumn类的具体用法?PHP TextViewColumn怎么用?PHP TextViewColumn使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了TextViewColumn类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for codice field
     //
     $column = new TextViewColumn('codice', 'Codice', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for descrizione field
     //
     $column = new TextViewColumn('descrizione', 'Descrizione', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:eroncalli,项目名称:atig,代码行数:15,代码来源:listini.php

示例2: RenderTextViewColumn

 /**
  * @param TextViewColumn $column
  */
 public function RenderTextViewColumn($column)
 {
     $value = $column->GetValue();
     $dataset = $column->GetDataset();
     $column->BeforeColumnRender->Fire(array(&$value, &$dataset));
     if (!isset($value)) {
         $this->result = $this->GetNullValuePresentation($column);
     } else {
         if ($column->GetEscapeHTMLSpecialChars()) {
             $value = htmlspecialchars($value);
         }
         $columnMaxLength = $column->GetMaxLength();
         if ($this->HttpHandlersAvailable() && $this->ChildPagesAvailable() && isset($columnMaxLength) && isset($value) && StringUtils::StringLength($value, $column->GetGrid()->GetPage()->GetContentEncoding()) > $columnMaxLength) {
             $originalValue = $value;
             if ($this->HtmlMarkupAvailable() && $column->GetReplaceLFByBR()) {
                 $originalValue = str_replace("\n", "<br/>", $originalValue);
             }
             $value = StringUtils::SubString($value, 0, $columnMaxLength, $column->GetGrid()->GetPage()->GetContentEncoding());
             $value .= '... <span class="more_hint"><a href="' . $column->GetMoreLink() . '" ' . 'onClick="javascript: pwin = window.open(\'\',null,\'height=300,width=400,status=yes,resizable=yes,toolbar=no,menubar=no,location=no,left=150,top=200,scrollbars=yes\'); pwin.location=\'' . $column->GetMoreLink() . '\'; return false;">' . $this->captions->GetMessageString('more') . '</a>';
             $value .= '<div class="box_hidden">' . $originalValue . '</div></span>';
         }
         if ($this->HtmlMarkupAvailable() && $column->GetReplaceLFByBR()) {
             $value = str_replace("\n", "<br/>", $value);
         }
         $this->result = $value;
     }
 }
开发者ID:blakeHelm,项目名称:BallotPath,代码行数:30,代码来源:renderer.php

示例3: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for project_name field
     //
     $column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for approved_budget field
     //
     $column = new TextViewColumn('approved_budget', 'Approved Budget', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for lead field
     //
     $column = new TextViewColumn('lead', 'Lead', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:BCDevExchange,项目名称:WORKPLAN,代码行数:21,代码来源:Project_by_approved_budget.php

示例4: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for FEC_WINK field
     //
     $column = new DateTimeViewColumn('FEC_WINK', 'FEC WINK', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for ES_ADMIN field
     //
     $column = new TextViewColumn('LA1', 'USERNAME EMISOR', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for ES_ADMIN field
     //
     $column = new TextViewColumn('LA2', 'USERNAME RECEPTOR', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($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->AddExportColumn($column);
     //
     // View column for USUARIO_CREACION field
     //
     $column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($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->AddExportColumn($column);
     //
     // View column for USUARIO_ULTIMA_MOD field
     //
     $column = new TextViewColumn('USUARIO_ULTIMA_MOD', 'USUARIO ULTIMA MOD', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:kcallow,项目名称:MatchMe,代码行数:48,代码来源:GE.WINK.php

示例5: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for USERNAME field
     //
     $column = new TextViewColumn('USERNAME', 'USERNAME', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for ES_REAL field
     //
     $column = new TextViewColumn('ES_REAL', 'ES REAL', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('LA1', 'EJERCICIO ID', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($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->AddExportColumn($column);
     //
     // View column for USUARIO_CREACION field
     //
     $column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($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->AddExportColumn($column);
     //
     // View column for USUARIO_ULTIMA_MOD field
     //
     $column = new TextViewColumn('USUARIO_ULTIMA_MOD', 'USUARIO ULTIMA MOD', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:kcallow,项目名称:MatchMe,代码行数:47,代码来源:GE.PERSONA_DISPONIBLEXEJERCICIO.php

示例6: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for id field
     //
     $column = new TextViewColumn('id', 'Id', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for ofv-numoff field
     //
     $column = new TextViewColumn('ofv-numoff', 'Ofv-numoff', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for ofv-codvoce field
     //
     $column = new TextViewColumn('ofv-codvoce', 'Ofv-codvoce', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for ofv-quantita field
     //
     $column = new TextViewColumn('ofv-quantita', 'Ofv-quantita', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for ofv-lunghezza field
     //
     $column = new TextViewColumn('ofv-lunghezza', 'Ofv-lunghezza', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddExportColumn($column);
     //
     // View column for ofv-larghezza field
     //
     $column = new TextViewColumn('ofv-larghezza', 'Ofv-larghezza', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddExportColumn($column);
     //
     // View column for ofv-tiposmu field
     //
     $column = new TextViewColumn('ofv-tiposmu', 'Ofv-tiposmu', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for ofv-przacq field
     //
     $column = new TextViewColumn('ofv-przacq', 'Ofv-przacq', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddExportColumn($column);
     //
     // View column for ofv-sconto field
     //
     $column = new TextViewColumn('ofv-sconto', 'Ofv-sconto', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddExportColumn($column);
     //
     // View column for ofv-valuni-cal field
     //
     $column = new TextViewColumn('ofv-valuni-cal', 'Ofv-valuni-cal', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddExportColumn($column);
     //
     // View column for ofv-valuni-fin field
     //
     $column = new TextViewColumn('ofv-valuni-fin', 'Ofv-valuni-fin', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, '.', ',');
     $grid->AddExportColumn($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->AddExportColumn($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->AddExportColumn($column);
 }
开发者ID:eroncalli,项目名称:atig,代码行数:89,代码来源:offerte_dettaglio_costi.php

示例7: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for name field
     //
     $column = new TextViewColumn('name', 'Name', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for total_hours field
     //
     $column = new TextViewColumn('total_hours', 'Actual Hours', $this->dataset);
     $column->SetOrderable(true);
     $column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.');
     $grid->AddExportColumn($column);
     //
     // View column for project_name field
     //
     $column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for task_name field
     //
     $column = new TextViewColumn('task_name', 'Task Name', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:BCDevExchange,项目名称:WORKPLAN,代码行数:28,代码来源:Hours+per+project+by+user.php

示例8: CreateMasterDetailRecordGridForfacturas_abonosDetailEdit0facturasGrid

 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
//.........这里部分代码省略.........
开发者ID:Kenovix,项目名称:san-miguel,代码行数:101,代码来源:facturas.php

示例9: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for idPUC field
     //
     $column = new TextViewColumn('idPUC', 'IdPUC', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for Nombre field
     //
     $column = new TextViewColumn('Nombre', 'Nombre', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for Valor field
     //
     $column = new TextViewColumn('Valor', 'Valor', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for GupoCuentas_PUC field
     //
     $column = new TextViewColumn('GupoCuentas_PUC', 'GupoCuentas PUC', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:Kenovix,项目名称:san-miguel,代码行数:27,代码来源:cuentas.php

示例10: CreateGrid

 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'field_namesGrid');
     if ($this->GetSecurityInfo()->HasDeleteGrant()) {
         $result->SetAllowDeleteSelected(true);
     } else {
         $result->SetAllowDeleteSelected(false);
     }
     ApplyCommonPageSettings($this, $result);
     $result->SetUseImagesForActions(true);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->CreateGridSearchControl($result);
     $this->CreateGridAdvancedSearchControl($result);
     $this->AddOperationsColumns($result);
     $this->AddFieldColumns($result);
     $this->AddSingleRecordViewColumns($result);
     $this->AddEditColumns($result);
     $this->AddInsertColumns($result);
     $this->AddPrintColumns($result);
     $this->AddExportColumns($result);
     $this->SetShowPageList(true);
     $this->SetHidePageListByDefault(false);
     $this->SetExportToExcelAvailable(true);
     $this->SetExportToWordAvailable(true);
     $this->SetExportToXmlAvailable(false);
     $this->SetExportToCsvAvailable(true);
     $this->SetExportToPdfAvailable(true);
     $this->SetPrinterFriendlyAvailable(true);
     $this->SetSimpleSearchAvailable(true);
     $this->SetAdvancedSearchAvailable(true);
     $this->SetFilterRowAvailable(true);
     $this->SetVisualEffectsEnabled(true);
     $this->SetShowTopPageNavigator(true);
     $this->SetShowBottomPageNavigator(true);
     //
     // Http Handlers
     //
     //
     // View column for task_name field
     //
     $column = new TextViewColumn('task_name', 'Task Name', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'field_namesGrid_task_name_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for public_engagement field
     //
     $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'field_namesGrid_public_engagement_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for level_of_service field
     //
     $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'field_namesGrid_level_of_service_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for project_type field
     //
     $column = new TextViewColumn('project_type', 'Project Type', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'field_namesGrid_project_type_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for task_name field
     //
     $column = new TextViewColumn('task_name', 'Task Name', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'field_namesGrid_task_name_handler_view', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for public_engagement field
     //
     $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'field_namesGrid_public_engagement_handler_view', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for level_of_service field
     //
     $column = new TextViewColumn('level_of_service', 'Level Of Service', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'field_namesGrid_level_of_service_handler_view', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for project_type field
     //
     $column = new TextViewColumn('project_type', 'Project Type', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'field_namesGrid_project_type_handler_view', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
开发者ID:BCDevExchange,项目名称:WORKPLAN,代码行数:98,代码来源:field_names.php

示例11: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for TIPO_RELACION_ID field
     //
     $column = new TextViewColumn('TIPO_RELACION_ID', 'TIPO RELACION ID', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for NOMBRE field
     //
     $column = new TextViewColumn('NOMBRE', 'NOMBRE', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for FECHA_CREACION field
     //
     $column = new DateTimeViewColumn('FECHA_CREACION', 'FECHA CREACION', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for FECHA_MODIFICACION field
     //
     $column = new DateTimeViewColumn('FECHA_MODIFICACION', 'FECHA MODIFICACION', $this->dataset);
     $column->SetDateTimeFormat('Y-m-d');
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for USUARIO_CREACION field
     //
     $column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for USUARIO_MODIFICACION field
     //
     $column = new TextViewColumn('USUARIO_MODIFICACION', 'USUARIO MODIFICACION', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:kcallow,项目名称:MatchMe,代码行数:41,代码来源:GE.TIPO_RELACION.php

示例12: CreateGrid

 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'public_office_holderGrid');
     if ($this->GetSecurityInfo()->HasDeleteGrant()) {
         $result->SetAllowDeleteSelected(false);
     } else {
         $result->SetAllowDeleteSelected(false);
     }
     ApplyCommonPageSettings($this, $result);
     $result->SetUseImagesForActions(false);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetUseModalInserting(true);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->CreateGridSearchControl($result);
     $this->CreateGridAdvancedSearchControl($result);
     $this->AddOperationsColumns($result);
     $this->AddFieldColumns($result);
     $this->AddSingleRecordViewColumns($result);
     $this->AddEditColumns($result);
     $this->AddInsertColumns($result);
     $this->AddPrintColumns($result);
     $this->AddExportColumns($result);
     $this->SetShowPageList(true);
     $this->SetHidePageListByDefault(false);
     $this->SetExportToExcelAvailable(false);
     $this->SetExportToWordAvailable(false);
     $this->SetExportToXmlAvailable(false);
     $this->SetExportToCsvAvailable(false);
     $this->SetExportToPdfAvailable(false);
     $this->SetPrinterFriendlyAvailable(false);
     $this->SetSimpleSearchAvailable(true);
     $this->SetAdvancedSearchAvailable(false);
     $this->SetFilterRowAvailable(false);
     $this->SetVisualEffectsEnabled(false);
     $this->SetShowTopPageNavigator(true);
     $this->SetShowBottomPageNavigator(true);
     //
     // Http Handlers
     //
     //
     // View column for photo_link field
     //
     $column = new TextViewColumn('photo_link', 'Photo Link', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for photo_link field
     //
     $editor = new TextAreaEdit('photo_link_edit', 50, 8);
     $editColumn = new CustomEditColumn('Photo Link', 'photo_link', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for photo_link field
     //
     $editor = new TextAreaEdit('photo_link_edit', 50, 8);
     $editColumn = new CustomEditColumn('Photo Link', 'photo_link', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'public_office_holderGrid_photo_link_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Notes', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for notes field
     //
     $editor = new TextAreaEdit('notes_edit', 50, 8);
     $editColumn = new CustomEditColumn('Notes', 'notes', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for notes field
     //
     $editor = new TextAreaEdit('notes_edit', 50, 8);
     $editColumn = new CustomEditColumn('Notes', 'notes', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'public_office_holderGrid_notes_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for photo_link field
     //
     $column = new TextViewColumn('photo_link', 'Photo Link', $this->dataset);
     $column->SetOrderable(true);
//.........这里部分代码省略.........
开发者ID:blakeHelm,项目名称:BallotPath,代码行数:101,代码来源:public.office_holder.php

示例13: CreateMasterDetailRecordGridForofferte_dettaglio_articoliDetailEdit0offerteGrid

 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);
//.........这里部分代码省略.........
开发者ID:eroncalli,项目名称:atig,代码行数:101,代码来源:offerte.php

示例14: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for total_hrs field
     //
     $column = new TextViewColumn('total_hrs', 'Total Hours', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:BCDevExchange,项目名称:WORKPLAN,代码行数:9,代码来源:Total_Allocated_Hrs.php

示例15: AddExportColumns

 protected function AddExportColumns(Grid $grid)
 {
     //
     // View column for MASCOTA_ID field
     //
     $column = new TextViewColumn('MASCOTA_ID', 'MASCOTA ID', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
     //
     // View column for TIPO field
     //
     $column = new TextViewColumn('TIPO', 'TIPO', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($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->AddExportColumn($column);
     //
     // View column for USUARIO_CREACION field
     //
     $column = new TextViewColumn('USUARIO_CREACION', 'USUARIO CREACION', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($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->AddExportColumn($column);
     //
     // View column for USUARIO_ULTIMA_MOD field
     //
     $column = new TextViewColumn('USUARIO_ULTIMA_MOD', 'USUARIO ULTIMA MOD', $this->dataset);
     $column->SetOrderable(true);
     $grid->AddExportColumn($column);
 }
开发者ID:kcallow,项目名称:MatchMe,代码行数:41,代码来源:GE.MASCOTA.php


注:本文中的TextViewColumn类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。