本文整理汇总了PHP中Grid::SetFilterRowAvailable方法的典型用法代码示例。如果您正苦于以下问题:PHP Grid::SetFilterRowAvailable方法的具体用法?PHP Grid::SetFilterRowAvailable怎么用?PHP Grid::SetFilterRowAvailable使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Grid
的用法示例。
在下文中一共展示了Grid::SetFilterRowAvailable方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: CreateComponents
protected function CreateComponents()
{
$this->grid = $this->CreateGrid();
$this->grid->SetFilterRowAvailable($this->GetFilterRowAvailable());
// remove: search controls must be configured from the generated code
$this->grid->UpdateSearchControls();
$this->pageNavigator = $this->CreatePageNavigator();
$this->httpHandlerName = null;
$this->FillPageNavigatorStack();
$this->RegisterHandlers();
}
示例2: Grid
function CreateMasterDetailRecordGridForproject_timeline_detailDetailEdit2projectGrid()
{
$result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForproject_timeline_detailDetailEdit2project');
$result->SetAllowDeleteSelected(false);
$result->OnCustomDrawCell->AddListener('MasterDetailRecordGridForproject_timeline_detailDetailEdit2project' . '_OnCustomDrawRow', $this);
$result->OnCustomRenderColumn->AddListener('MasterDetailRecordGridForproject_timeline_detailDetailEdit2project' . '_' . 'OnCustomRenderColumn', $this);
$result->SetShowFilterBuilder(false);
$result->SetAdvancedSearchAvailable(false);
$result->SetFilterRowAvailable(false);
$result->SetShowUpdateLink(false);
$result->SetEnabledInlineEditing(false);
$result->SetShowKeyColumnsImagesInHeader(false);
$result->SetName('master_grid');
//
// View column for program_name field
//
$column = new TextViewColumn('programm_id_program_name', 'Project Type', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for project_name field
//
$column = new TextViewColumn('project_name', 'Project Name', $this->dataset);
$column->SetOrderable(true);
$column->SetEscapeHTMLSpecialChars(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for date_start field
//
$column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for date_end field
//
$column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for year field
//
$column = new TextViewColumn('year', 'Year', $this->dataset);
$column->SetOrderable(true);
$column->SetEscapeHTMLSpecialChars(true);
$column->SetWordWrap(false);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for notes field
//
$column = new TextViewColumn('notes', 'Objectives', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('projectGrid_notes_handler_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for Name field
//
$column = new TextViewColumn('priority_Name', 'Priority', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for username field
//
$column = new TextViewColumn('lead_username', 'Project Lead', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for approved_budget field
//
$column = new TextViewColumn('approved_budget', 'Approved Budget', $this->dataset);
$column->SetOrderable(true);
$column = new CurrencyFormatValueViewColumnDecorator($column, 2, ',', '.', $this->RenderText('$'));
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for budget_spent field
//
$column = new TextViewColumn('budget_spent', 'Budget Spent', $this->dataset);
$column->SetOrderable(true);
$column = new CurrencyFormatValueViewColumnDecorator($column, 2, ',', '.', $this->RenderText('$'));
$column->SetDescription($this->RenderText(''));
//.........这里部分代码省略.........
示例3: Grid
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
//.........这里部分代码省略.........
示例4: Grid
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);
//.........这里部分代码省略.........
示例5: Grid
function CreateMasterDetailRecordGridForprojectDetailEdit0programGrid()
{
$result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForprojectDetailEdit0program');
$result->SetAllowDeleteSelected(false);
$result->SetShowFilterBuilder(false);
$result->SetAdvancedSearchAvailable(false);
$result->SetFilterRowAvailable(false);
$result->SetShowUpdateLink(false);
$result->SetEnabledInlineEditing(false);
$result->SetShowKeyColumnsImagesInHeader(false);
$result->SetName('master_grid');
//
// View column for program_name field
//
$column = new TextViewColumn('program_name', ' Name', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for description field
//
$column = new TextViewColumn('description', 'Description', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('programGrid_description_handler_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for username field
//
$column = new TextViewColumn('lead_username', 'Lead', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('programGrid_username_handler_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for date_start field
//
$column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for date_end field
//
$column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for program_name field
//
$column = new TextViewColumn('program_name', ' Name', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for description field
//
$column = new TextViewColumn('description', 'Description', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for lead field
//
$column = new TextViewColumn('lead', 'Lead', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for date_start field
//
$column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for date_end field
//
$column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$result->AddPrintColumn($column);
return $result;
}
示例6: Grid
function CreateMasterDetailRecordGridFortimesheetDetailEdit0taskGrid()
{
$result = new Grid($this, $this->dataset, 'MasterDetailRecordGridFortimesheetDetailEdit0task');
$result->SetAllowDeleteSelected(false);
$result->SetShowFilterBuilder(false);
$result->SetAdvancedSearchAvailable(false);
$result->SetFilterRowAvailable(false);
$result->SetShowUpdateLink(false);
$result->SetEnabledInlineEditing(false);
$result->SetShowKeyColumnsImagesInHeader(false);
$result->SetName('master_grid');
//
// View column for project_id field
//
$column = new TextViewColumn('project_id', 'Project', $this->dataset);
$column->SetOrderable(true);
$column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'project.php?operation=view&pk0=%project_id%', '');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for task_name field
//
$column = new TextViewColumn('task_name', 'Name', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('taskGrid_task_name_handler_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for notes field
//
$column = new TextViewColumn('notes', 'Notes', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('taskGrid_notes_handler_list');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for hrs field
//
$column = new TextViewColumn('hrs', 'Allocated Hours', $this->dataset);
$column->SetOrderable(true);
$column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for assigned_to field
//
$column = new TextViewColumn('assigned_to', 'Assigned To', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for date_start field
//
$column = new DateTimeViewColumn('date_start', 'Date Start', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for date_end field
//
$column = new DateTimeViewColumn('date_end', 'Date End', $this->dataset);
$column->SetDateTimeFormat('Y-m-d');
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for project_id field
//
$column = new TextViewColumn('project_id', 'Project', $this->dataset);
$column->SetOrderable(true);
$column = new ExtendedHyperLinkColumnDecorator($column, $this->dataset, 'project.php?operation=view&pk0=%project_id%', '');
$result->AddPrintColumn($column);
//
// View column for task_name field
//
$column = new TextViewColumn('task_name', 'Task Name', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for notes field
//
$column = new TextViewColumn('notes', 'Notes', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for hrs field
//
$column = new TextViewColumn('hrs', 'Allocated Hours', $this->dataset);
$column->SetOrderable(true);
$column = new NumberFormatValueViewColumnDecorator($column, 2, ',', '.');
//.........这里部分代码省略.........
示例7: Grid
function CreateMasterDetailRecordGridForkardexmercanciasDetailEdit0imvGrid()
{
$result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForkardexmercanciasDetailEdit0imv');
$result->SetAllowDeleteSelected(false);
$result->SetShowFilterBuilder(false);
$result->SetAdvancedSearchAvailable(false);
$result->SetFilterRowAvailable(false);
$result->SetShowUpdateLink(false);
$result->SetEnabledInlineEditing(false);
$result->SetName('master_grid');
//
// View column for id field
//
$column = new TextViewColumn('id', 'Id', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for cod_cups field
//
$column = new TextViewColumn('cod_cups', 'Cod Cups', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('cod_cups_handler');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for cod_admin field
//
$column = new TextViewColumn('cod_admin', 'Cod Admin', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('cod_admin_handler');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for cums field
//
$column = new TextViewColumn('cums', 'Cums', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('cums_handler');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for nombre field
//
$column = new TextViewColumn('nombre', 'Nombre', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('nombre_handler');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for tipo_imv field
//
$column = new TextViewColumn('tipo_imv', 'Tipo Imv', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('tipo_imv_handler');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for forma_farmaceutica field
//
$column = new TextViewColumn('forma_farmaceutica', 'Forma Farmaceutica', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for concentracion field
//
$column = new TextViewColumn('concentracion', 'Concentracion', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for uni_medida field
//
$column = new TextViewColumn('uni_medida', 'Uni Medida', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('uni_medida_handler');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for jeringa field
//
$column = new TextViewColumn('jeringa', 'Jeringa', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
//.........这里部分代码省略.........
示例8: Grid
function CreateMasterDetailRecordGridForact_movimientosDetailEdit0activosGrid()
{
$result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForact_movimientosDetailEdit0activos');
$result->SetAllowDeleteSelected(false);
$result->SetShowFilterBuilder(false);
$result->SetAdvancedSearchAvailable(false);
$result->SetFilterRowAvailable(false);
$result->SetShowUpdateLink(false);
$result->SetEnabledInlineEditing(false);
$result->SetName('master_grid');
//
// View column for idActivos field
//
$column = new TextViewColumn('idActivos', 'IdActivos', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for Referencia field
//
$column = new TextViewColumn('Referencia', 'Referencia', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for NombreAct field
//
$column = new TextViewColumn('NombreAct', 'NombreAct', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('NombreAct_handler');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for Marca field
//
$column = new TextViewColumn('Marca', 'Marca', $this->dataset);
$column->SetOrderable(true);
$column->SetMaxLength(75);
$column->SetFullTextWindowHandlerName('Marca_handler');
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for Serie field
//
$column = new TextViewColumn('Serie', 'Serie', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for ValorEstimado field
//
$column = new TextViewColumn('ValorEstimado', 'ValorEstimado', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for Nombre field
//
$column = new TextViewColumn('Bodega_Nombre', 'Bodega', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for CuentaPUC field
//
$column = new TextViewColumn('CuentaPUC', 'CuentaPUC', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for idActivos field
//
$column = new TextViewColumn('idActivos', 'IdActivos', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for Referencia field
//
$column = new TextViewColumn('Referencia', 'Referencia', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for NombreAct field
//
$column = new TextViewColumn('NombreAct', 'NombreAct', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for Marca field
//
$column = new TextViewColumn('Marca', 'Marca', $this->dataset);
//.........这里部分代码省略.........
示例9: Grid
function CreateMasterDetailRecordGridForarticoliDetailEdit0famiglieGrid()
{
$result = new Grid($this, $this->dataset, 'MasterDetailRecordGridForarticoliDetailEdit0famiglie');
$result->SetAllowDeleteSelected(false);
$result->SetShowFilterBuilder(false);
$result->SetAdvancedSearchAvailable(false);
$result->SetFilterRowAvailable(false);
$result->SetShowUpdateLink(false);
$result->SetEnabledInlineEditing(false);
$result->SetShowKeyColumnsImagesInHeader(false);
$result->SetName('master_grid');
//
// View column for fam-codfam field
//
$column = new TextViewColumn('fam-codfam', 'Codice famiglia', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for fam-descriz field
//
$column = new TextViewColumn('fam-descriz', 'Descrizione', $this->dataset);
$column->SetOrderable(true);
$column->SetDescription($this->RenderText(''));
$column->SetFixedWidth(null);
$result->AddViewColumn($column);
//
// View column for id field
//
$column = new TextViewColumn('id', 'Id', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for fam-codfam field
//
$column = new TextViewColumn('fam-codfam', 'Codice famiglia', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
//
// View column for fam-descriz field
//
$column = new TextViewColumn('fam-descriz', 'Descrizione', $this->dataset);
$column->SetOrderable(true);
$result->AddPrintColumn($column);
return $result;
}