I'm very new to Codeigniter and GroceryCRUD - and pretty new to PHP - so forgive me if this is obvious.
Note: This is all for the admin backend of the site I'm developing.
1. I'd like to have a table display filtered by a 'where'; I have this partially working. The list should have about 35 records but only shows 10 and doesn't advance when I click the 'next' icon.
2. I need multiple-select check boxes - one per row in the first column; not working.
3. I need a submit button and access to an an array of id's of selected rows; not working.
I realize this is simple to do in a form but I'd like to be consistent with the style of the site.
Is this possible?
Checkboxes and Submit on table?
Started by Bonker, 28 March 2012 - 06:56 AM
- Single Page
Posted 28 March 2012 - 06:56 AM
Posted 29 March 2012 - 19:42 PM
1. The table display filtered there is $crud->where(); that works exactly as Codeigniter where ($this->db->where)
2. Grocery CRUD doesn't have multiple check-boxes yet but have the set_relation_n_n ( http://www.grocerycrud.com/examples/set_a_relation_n_n )
3. I didn't get it. I think you need a callback_column , take a look at: http://www.grocerycrud.com/examples/callback_column_example
2. Grocery CRUD doesn't have multiple check-boxes yet but have the set_relation_n_n ( http://www.grocerycrud.com/examples/set_a_relation_n_n )
3. I didn't get it. I think you need a callback_column , take a look at: http://www.grocerycrud.com/examples/callback_column_example