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

Subscribe to our news:
Partners
Testimonials
John Gondek: "Your software is amazing. I consider myself a novice at PHP and JS and with your software I have a web page that is truly fantastic. Thank you so much ".
Anley Lafleur: "I cannot wait to start using your exciting product and I am sure it will help me achieve my objectives".

More

Add your opinion

PostgreSQL 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