Freelance Soft PHP Ajax Grid

PHP Ajax Grid - Demo: Filters

Filtered grid

Constructor:

 

$filteredGrid = AjaxGrid::create(

            "filteredGrid",

            array(

                        new DBQueryDescriptor("city",

                                   array("ID","Name", "CountryCode", "District"))

                        ),

            array(

                        "ID" => new ColumnMapped("%s", array("city.ID"),true,'5%'),

                        "Name" => new ColumnMapped("%s", array("city.Name"), true),

                        "Country Code" => new ColumnMapped("%s", array("city.CountryCode"), true, NULL,

                          true),

                        "District" => new ColumnMapped("%s", array("city.District"), true, NULL, true)

                        ), false, '1',

            array(

                        "Country Code" => array("District"))

         );

    Next Last
Grid by fs
ID Name
filter Country Code
filter District
439 Tatu� BRA São Paulo
440 Ji-Paran� BRA Rondônia
441 Bacabal BRA Maranhão
442 Cametá BRA Pará
444 São Lourenço da Mata BRA Pernambuco
445 Santana do Livramento BRA Rio Grande do Sul
446 Votorantim BRA São Paulo
3794 Los Angeles USA California
3795 Chicago USA Illinois
3797 Philadelphia USA Pennsylvania
Rows per page (Change) Record 1 to 10 of 270
    Next Last