• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP TextViewColumn类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: CreateGrid

 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'phpgen_user_permsGrid');
     if ($this->GetSecurityInfo()->HasDeleteGrant()) {
         $result->SetAllowDeleteSelected(true);
     } else {
         $result->SetAllowDeleteSelected(false);
     }
     ApplyCommonPageSettings($this, $result);
     $result->SetUseImagesForActions(true);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetShowKeyColumnsImagesInHeader(false);
     $result->SetViewMode(ViewMode::TABLE);
     $result->setEnableRuntimeCustomization(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->SetExportToExcelAvailable(true);
     $this->SetExportToWordAvailable(true);
     $this->SetExportToXmlAvailable(true);
     $this->SetExportToCsvAvailable(true);
     $this->SetExportToPdfAvailable(true);
     $this->SetPrinterFriendlyAvailable(true);
     $this->SetSimpleSearchAvailable(true);
     $this->SetAdvancedSearchAvailable(true);
     $this->SetVisualEffectsEnabled(true);
     $this->SetShowTopPageNavigator(true);
     $this->SetShowBottomPageNavigator(true);
     //
     // Http Handlers
     //
     //
     // View column for page_name field
     //
     $column = new TextViewColumn('page_name', 'Page Name', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'phpgen_user_permsGrid_page_name_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for page_name field
     //
     $column = new TextViewColumn('page_name', 'Page Name', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'phpgen_user_permsGrid_page_name_handler_view', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
开发者ID:outsourcinggithub,项目名称:outsourcing,代码行数:57,代码来源:phpgen_user_perms.php


示例17: CreateGrid

 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'empresaGrid');
     if ($this->GetSecurityInfo()->HasDeleteGrant()) {
         $result->SetAllowDeleteSelected(false);
     } 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->AddFieldColumns($result);
     $this->AddSingleRecordViewColumns($result);
     $this->AddEditColumns($result);
     $this->AddInsertColumns($result);
     $this->AddPrintColumns($result);
     $this->AddExportColumns($result);
     $this->AddOperationsColumns($result);
     $this->SetShowPageList(true);
     $this->SetHidePageListByDefault(false);
     $this->SetExportToExcelAvailable(true);
     $this->SetExportToWordAvailable(true);
     $this->SetExportToXmlAvailable(true);
     $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 nombre field
     //
     $column = new TextViewColumn('nombre', 'Nombre', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for nombre field
     //
     $editor = new TextEdit('nombre_edit');
     $editor->SetSize(80);
     $editor->SetMaxLength(80);
     $editColumn = new CustomEditColumn('Nombre', 'nombre', $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 nombre field
     //
     $editor = new TextEdit('nombre_edit');
     $editor->SetSize(80);
     $editor->SetMaxLength(80);
     $editColumn = new CustomEditColumn('Nombre', 'nombre', $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, 'nombre_handler', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for depto field
     //
     $column = new TextViewColumn('depto', 'Depto', $this->dataset);
     $column->SetOrderable(true);
     /* <inline edit column> */
     //
     // Edit column for depto field
     //
     $editor = new TextAreaEdit('depto_edit', 50, 8);
     $editColumn = new CustomEditColumn('Depto', 'depto', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetEditOperationColumn($editColumn);
     /* </inline edit column> */
     /* <inline insert column> */
     //
     // Edit column for depto field
     //
     $editor = new TextAreaEdit('depto_edit', 50, 8);
     $editColumn = new CustomEditColumn('Depto', 'depto', $editor, $this->dataset);
     $editColumn->SetAllowSetToNull(true);
     $this->ApplyCommonColumnEditProperties($editColumn);
     $column->SetInsertOperationColumn($editColumn);
     /* </inline insert column> */
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'depto_handler', $column);
     GetApplication()->RegisterHTTPHandler($handler);
//.........这里部分代码省略.........
开发者ID:Kenovix,项目名称:san-miguel,代码行数:101,代码来源:empresa.php


示例18: CreateGrid

该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Text_Diff类代码示例发布时间:2022-05-23
下一篇:
PHP TextReporter类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap