mirror of https://github.com/xfarrow/phpxpress.git
added readme
This commit is contained in:
parent
55eb3ce764
commit
a7e5672d65
|
@ -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">
|
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
Loading…
Reference in New Issue