Can i generate only U from CRUD : )
- Single Page
Posted 21 September 2012 - 15:02 PM
I was pointed out groceryCRUD today and i quite like it. I have one question, is it possible to generate only Update option for a
table i already have create, remove and display handcoded i have my method show that displays a member however im feeling lazy
and dont want to write a whole new form just for editing.
Can this be done and if so any pointers are helpfull.
Posted 16 May 2013 - 20:20 PM
/topic/887-force-default-edit-or-delete-state/?p=7469
The above link, i have posted a solution to your query. I know its too late for project u were asking for but never too late for the 1 in future :)
Happy coding.
Posted 16 May 2013 - 22:19 PM
You just need to use, unset_add, unset_delete, unset_list and unset_back_to_list.
Then you need to make sure that you have the primary_key of the table (and the row in question) and you pass it on the edit url, e.g.
customers/edit/1