mirror of https://github.com/xfarrow/phpxpress.git
Merge branch 'main' of https://github.com/xfarrow/phpxpress
This commit is contained in:
commit
e9c3218cdc
16
README.md
16
README.md
|
@ -1,15 +1,15 @@
|
|||
# phpxpress
|
||||
The following code
|
||||
```
|
||||
$employees = array($employee1,$employee2,$employee3);
|
||||
$employees = array($employee1,$employee2,$employee3);
|
||||
|
||||
$table = new Table;
|
||||
$table->setDataSource($employees);
|
||||
$table->setCustomCaptions(array("Name", "Surname", "Date of Birth", "Social Security Number"));
|
||||
$table->setStripedRows(true);
|
||||
$table->setBordered(true);
|
||||
$table->setHoverAnimation(true);
|
||||
$table->draw();
|
||||
$table = new Table;
|
||||
$table->setDataSource($employees);
|
||||
$table->setCustomCaptions(array("Name", "Surname", "Date of Birth", "Social Security Number"));
|
||||
$table->setStripedRows(true);
|
||||
$table->setBordered(true);
|
||||
$table->setHoverAnimation(true);
|
||||
$table->draw();
|
||||
```
|
||||
|
||||
Produces the following output
|
||||
|
|
Loading…
Reference in New Issue