Monday, May 31, 2010

Delete and get 1 to replace

Just stumped how to go about this one.

Start with a paginated table with 20 records. You have the "Delete" as
normal at the end of each <TR> but its done via ajax so you remove the
row, now how would you get the next record? All the records would
shift up so you now need to get what would have been record 21 to add
to the bottom of the table?So as you delete 1 record another gets
added, so you lways have 20 records in the table.

Thanks,

Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: