Freelance Soft PHP Ajax Grid

PHP Ajax Grid - Demo: Update + Combos

-- Update + Delete + Combos + Inner Join --
Cities

Constructor:

 

$ucGrid = AjaxGrid::create(

         "ucGrid",

         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.ID", "city.Name"), true),

                     "Population" => new ColumnMapped($populationFormat,

                                            array("city.Population"), true)));

    Next Last
Grid by fs
Actions Pople Is Name Population
Edit Delete
2982146
Edit Delete
1266461
Edit Delete
1157507
Edit Delete
907718
Edit Delete
622013
Edit Delete
559249
Edit Delete
538918
Edit Delete
521936
Edit Delete
512880
Edit Delete
470809
Rows per page (Change) Record 1 to 10 of 581
    Next Last