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

Subscribe to our news:
Partners
Testimonials
Svetlio Mitev: "I am really sure that you guys can make the best PHP code generators to be found worldwide".
Marco De Luca: "I can handle now both version of SQLite Databases, 2.x and 3.x. Your SQLite PHP Generator is among the best tools I have seen".

More

Add your opinion

SQLite 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