3.7. grid

Grid element, element adjustment, you do not need a table.

create a grid:

element createGrid (string text, array array, [string name]);

parameter:

function setDiv($div) - specifies the css class of a div which will be wrapped around the table. If it is empty no div will be created. HTML only. Usage: $myTable->setDiv("myclass"); HTML only. "meta" => array(...) - optional. Indicates the width of the columns.

example:

		$myArray = array(
		    array(
			array(
			    "line 1",
			    "line 2",
			)
		    ),
		    array("City:",$ippfp->createText("",20,"city")),
		    array("Phone:",$ippfp->createText("",20,"phone")),
		    array("Description:",$ippfp->createTextarea("",20,"description")),
		);
		$myGrid = $ippfp->createGrid("",$myArray,"mygrid");