mirror of
https://github.com/xfarrow/phpxpress.git
synced 2025-06-05 21:59:21 +02:00
Update README.md
This commit is contained in:
18
README.md
18
README.md
@ -1,16 +1,16 @@
|
|||||||
# phpxpress
|
# phpxpress
|
||||||
The following code
|
The following code
|
||||||
```
|
```
|
||||||
$employees = array($employee1,$employee2,$employee3);
|
$employees = array($employee1,$employee2,$employee3);
|
||||||
|
|
||||||
$table = new Table;
|
$table = new Table;
|
||||||
$table->setDataSource($employees);
|
$table->setDataSource($employees);
|
||||||
$table->setCustomCaptions(array("Name", "Surname", "Date of Birth", "Social Security Number"));
|
$table->setCustomCaptions(array("Name", "Surname", "Date of Birth", "Social Security Number"));
|
||||||
$table->setStripedRows(true);
|
$table->setStripedRows(true);
|
||||||
$table->setBordered(true);
|
$table->setBordered(true);
|
||||||
$table->setHoverAnimation(true);
|
$table->setHoverAnimation(true);
|
||||||
$table->draw();
|
$table->draw();
|
||||||
```
|
```
|
||||||
|
|
||||||
Produces the following output
|
Produces the following output
|
||||||
<img src="/phpxpress/examples/demoTable.jpg" alt="Demo">
|
<img src="/phpxpress/examples/demoTable.jpg" alt="Demo">
|
||||||
|
Reference in New Issue
Block a user