phpLens
 home  products examples manual  faq support forum  contact news  login store

More Examples:   View Source:   Simple Category Table Demo

Free Download

  PHPLens
Srch
  Name Category Description
1BeveragesSoft drinks, coffees, teas, beers, and ales
2CondimentsSweet and savory sauces, relishes, spreads, and seasonings
3ConfectionsDesserts, candies, and sweet breads
4Dairy ProductsCheeses
5Grains/CerealsBreads, crackers, pasta, and cereal
6Meat/PoultryPrepared meats
7ProduceDried fruit and bean curd
8SeafoodSeaweed and fish
  PHPLens (Page 1)  
Srch

Notes

We change the titles displayed using the nameLens property.

$lens->nameLens = "CategoryName^Name;Description^Category Description";

In the above example, multiple columns are modified, separated by semi-colons (;). Each column setting is separated by the hat symbol (^). [Ex103 should show that multiple settings for nameLens is allowed]

We also hide the CategoryID and Picture columns by using the gridLens property. Only columns we want to display are listed here.

$lens->gridLens = "CategoryName;Description";

You can also change a column title dynamicly by clicking on the [pict here] button and renaming the column: [picture here]

email: contact#phplens.com (change # to @)     telephone (malaysia): 60-3-7947 2888     fax (malaysia): 60-3-7947 2800