| -- Seven: Delete + Combos + Inner Join + Where Condition -- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Excellent People | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Constructor:
$gridName = AjaxGrid::create( "gridName", array( new DBQueryDescriptor("city", array("ID","Name", "Population","PeopleIs")), new DBQueryDescriptor("peopleis", array("ID","Description"), DBQueryDescriptor::$INNER_JOIN, 'peopleis.ID = city.PeopleIs')), array( "Actions" => new ColumnMapped($actionsFormat, array("city.ID","city.ID"),false,'5%'), "Pople Is" => new ColumnComboMapped($comboFormat, "peopleis","peopleis.ID","peopleis.Description", "peopleis.ID",array("city.ID"), "peopleis.Description"), "Name" => new ColumnMapped($nameFormat, array("city.Name"), true), "Population" => new ColumnMapped($populationFormat, array("city.Population"), true)), false, <Where_Condition>); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Very Good People | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Good People | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Bad People | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bad People | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Very Bad People | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Repugnant People | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|