From adc6089ba117951c291453420e4dd0c063782da0 Mon Sep 17 00:00:00 2001 From: Alessandro Ferro <49845537+xfarrow@users.noreply.github.com> Date: Thu, 29 Sep 2022 11:00:39 +0200 Subject: [PATCH] Update README.md --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 22882b8..25998c3 100644 --- a/README.md +++ b/README.md @@ -23,18 +23,12 @@ $employees = array($employee1, $employee2, $employee3); $table = new PhpXpress\Table; $table->setDataSource($employees); - -//not required. If not specified it'll use objects' property names -$table->setCustomCaptions(array("Name", "Surname", "Date of Birth", "Social Security Number")); - +$table->setCustomCaptions(array("Name", "Surname", "Date of Birth", "Social Security Number")); //not required. If not specified it'll use objects' property names $table->addColumn("Extra"); - $table->onValueDisplaying("onValueDisplaying"); - $table->setStripedRows(true); $table->setBordered(true); $table->setHoverAnimation(true); - $table->draw(); function onValueDisplaying($caption, &$value, $row){