Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

Firebird PHP Generator online Help

Prev Return to chapter overview Next

GetMasterGrid

Returns the master grid of a detail page (an instance of the Grid class).

 

Signature:

function GetMasterGrid()

 

Example:

To hide the 'owner' column in a master grid, use the following code in the OnPreparePage event handler:

 

$masterGrid = $this->GetMasterGrid();

if ($masterGrid) {

  $column = $masterGrid->GetViewColumn('owner');

  $column->setVisible(false);

}

 



Prev Return to chapter overview Next