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

Subscribe to our news:
Partners
Testimonials
Jonathan Oakes: "This is a lovely application. It's easy to hook into my own bespoke applications. It's very powerful, yet really quite simple to use. Thanks for this".
Craig Cordell: "The simplicity of your code generator is fantastic. We've evaluated dozens of others over the past few years but have yet to find one that is as easy to use as yours".

More

Add your opinion

PHP Generator for MySQL 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