Use arrow key to navigate a grid
Call the following method to enable keyboard navigation in a datagrid
$dg->enable_kb_nav(true);If you need to edit the grid, add the following:
$dg->enable_edit("FORM","CRUD"); $dg->enable_kb_nav(true);$dg->enable_edit("FORM","CRUD");