Location: PHPKode > projects > Open Power Template > tests/Opt/instruction/grid_8.txt
The test checks the opt:grid cooperation with HTML tags.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<opt:grid name="items" cols="3">

$view->items = array(
	array('foo' => 'item 1'),
	array('foo' => 'item 2'),
	array('foo' => 'item 3'),
	array('foo' => 'item 4'),
	array('foo' => 'item 5'),
	array('foo' => 'item 6'),
	array('foo' => 'item 7')


<td>item 1</td>
<td>item 2</td>
<td>item 3</td>
<td>item 4</td>
<td>item 5</td>
<td>item 6</td>
<td>item 7</td>
Return current item: Open Power Template