Added template var to Datagrid.php