sonnykwe
Results
1
comments of
sonnykwe
Use setPrimaryColumn, addColumn and setSummaryColumns functions: e.g. ``` $page = new SQLiteTablePage("sqlite2", "fixtures/chinook.sqlite"); $page->setName("Customer Management")->setTableName("Customer")->setRowsPerPage(20)->setPrimaryColumn("CustomerId")->addColumn("FirstName", "First Name", array('required' => true))->addColumn("LastName", "Last Name")->addColumn("City", "City", array('required' => true))->addColumn("Country", "Country")->addColumn("Email", "E-mail")->setSummaryColumns(array("FirstName", "Country")); ```...