mirror of
https://github.com/xfarrow/phpxpress.git
synced 2025-06-05 21:59:21 +02:00
added readme
This commit is contained in:
16
README.md
Normal file
16
README.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# phpxpress
|
||||||
|
The following code
|
||||||
|
```
|
||||||
|
$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();
|
||||||
|
```
|
||||||
|
|
||||||
|
Produces the following output
|
||||||
|
<img src="/phpxpress/examples/demoTable.jpg" alt="Demo">
|
BIN
phpxpress/examples/demoTable.jpg
Normal file
BIN
phpxpress/examples/demoTable.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
Reference in New Issue
Block a user