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

Subscribe to our news:
Partners
Testimonials
Steve Morton: "First let me thank you for making this application Free. Best deal I have ever see for what it does".
Kirby Foster: "Nice software. Small, lightweight, works well. I evaluated lots of software before deciding that your software worked the best for what I do. Both Maestro for MySQL and PHP Generator have saved me lots of time".

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