X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/7471e3044d4bd988a1e913fe72af1d1c0f9b9920..1ecdfa93a5bdc143c4eea7eb26d37749118b8469:/HTML/test/prueba_tabla.php
diff --git a/HTML/test/prueba_tabla.php b/HTML/test/prueba_tabla.php
index b79e320..be669bf 100644
--- a/HTML/test/prueba_tabla.php
+++ b/HTML/test/prueba_tabla.php
@@ -3,7 +3,7 @@
-
+
@@ -12,24 +12,33 @@
'Col 1',
- '1' => 'Col 2',
- );
+ $row = array ('R0C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
- $TABLA->agregarFilaCabecera($row);
+ $TABLA->agregarFilaCabecera($row);
- $row = array (
- '0' => 'Fila 1',
- '1' => 'Fila 2',
- );
-
+ $row = array ('R1C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
+ $TABLA->agregarFila($row);
+
+ $row = array ('R2C0','R2C1','R2C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9');
$TABLA->agregarFila($row);
+ $row = array ('R3C0','R3C1','R3C2','R3C3','R3C4','R3C5','R3C6','R3C7','R3C8','R3C9');
+ $TABLA->agregarFila($row);
+
+ $TABLA->colSpan(0, 0,10);
+ $TABLA->rowSpan(1, 0,3);
+ $TABLA->rowSpan(1, 1,3);
+ $TABLA->colSpan(1, 2,8);
+ $TABLA->colSpan(2, 2,2);
+ $TABLA->colSpan(2, 4,2);
+ $TABLA->colSpan(2, 6,2);
+ $TABLA->colSpan(2, 8,2);
+
+
$tohtml = $TABLA->toHtml();
print $tohtml;