function get_category()
{
$crud = new grocery_CRUD();
$crud->set_theme('datatables');
$crud->set_table('t_category');
$crud->display_as('parentId','Parent Name');
$crud->set_subject('Category');
$crud->set_relation('parentId','t_cat_parent','parentName');
$output = $crud->render();
$this->category_output($output);
}
sorry for my poor english,
It shows the dropdown menu perfectly..
but when i insert the t_cat_parent table value will not insert the category name into parentName field please help me..thanks
Parent child
Started by jakjothi, 08 January 2013 - 14:11 PM
- Single Page
Posted 08 January 2013 - 14:11 PM