Direct in-CGridView edit
Posted 16 December 2011 - 10:29 AM
Adding an edit field (input box) to every CGridView row is a relatively easy task.
But has anyone got any experience (code examples, extension etc.) on how to accomplish reading values in each edit field, comparing them with IDs for each row and updating proper records after clicking button bellow CGridView? With respecting virtually any datasets received by sorting, filtering and paginating CGridView like user wants to.
How to read such field value, how to get respective row's ID that are required for model update?
Posted 16 December 2011 - 10:59 AM
Posted 20 December 2011 - 08:49 AM
Thanks for the idea.
Off-topic. This extension is rather old (almost two years old). I've noticed that for many "old" extensions, link "Tryout a demo" links to framework's home page. Isn't that a bug or error? Are these links auto-generated for each new extension?
Posted 20 December 2011 - 09:08 AM
the idea was that the user replaces the link to his demo or delete it (that was written in a comment), but most of users did just leave it as it was... so later we removed those predefined links...
Posted 27 September 2012 - 02:19 AM
But to do... what? :]
BTW: Sorry for late reply.