Het grid start je op deze manier:

[code]
<?php

include("grid.class.php");
include("mysql.class.php");
$grid = new ablgrid;
$db = new db;
$grid->start($db, "host", "username", "wachtwoord", "database");

$grid->set_query("SELECT *  FROM tabel");
$grid->set_table("tabel");	

$grid->set_key("id");	
$grid->set_limit(20);
$grid->enable_edit("TRUE");
include("ajax_functions.php");
include_once('agent.php'); 


?>



<html>
<head>
<?php
$agent->init();
?>
<title>ABL_GRID beta 1.0</title>
<script src='grid.js'>
</script>
<link rel='stylesheet' href='gridlayout.css' />
</head>
<body>
<?php
echo $grid->display();
?>

</body>
</html>
[/code]