[eluser]oldroy[/eluser]
Extjs has what they call an "editor grid". It's slick but it is kind of hard to do all of the CRUD functions without adding in some modal forms to do add, and buttons to delete currently chosen rows. There are add-ins to the editor grid that help do all, but I've never messed with them.
Integrating this within codeigniter is as simple as what follows for cRud (READ) and a few other controller functions for the rest.
<code>
function ajaxGetImages($id=0){
if ($id == 0)
{
$id = $this->auth->getProjectId();
}
if ($data = $this->MImages->getAllImages($id))
{
$data = (json_encode($data));
echo "{success:true,rows:" . $data."}";
}
else
{
echo "{success:false,msg: 'No records returned'}";
}
}
</code>