Here's a quick solution to implement your Datagrid tables into your Smarty templates:
1. Start your datagrid code with
Code: Select all
ob_start();
2. End your datagrid code with
Code: Select all
$dgrid->Bind();
$smarty->assign('myDatagridTable', ob_get_contents());
ob_end_clean();
3. Insert your table into your Smarty template
Code: Select all
{$myDatagridTable}
That's all. Good luck.