PClib demo site

<?elements
class grid name "productlist"
string productCode lb "Product code" sort
string productName lb "Product name" sort
string productLine lb "Productline" sort
string productVendor lb "Vendor" sort
string productDescription lb "Description" size "40" tooltip
link ldata lb "Show source array" route "arraygrid/datasource"
link lfilter lb "Apply filter Vendor='Unimax*' on array" route "arraygrid/filter"
pager pager pglen "20"
?>


<h2>Grid created from array</h2>

<table class="grid" border="0">
<tr>
<th>{productCode.lb}</th>
<th>{productName.lb}</th>
<th>{productLine.lb}</th>
<th>{productVendor.lb}</th>
<th>{productDescription.lb}</th>
</tr>
{BLOCK items}
<tr>
<td>{productCode}</td>
<td>{productName}</td>
<td>{productLine}</td>
<td>{productVendor}</td>
<td>{productDescription}</td>
</tr>
{/BLOCK}
</table>
<div class="pager">{pager}</div>

<br><br>{ldata}<br>
{lfilter}

Elapsed time: 0.91 ms