Monday, May 31, 2010

Re: Delete and get 1 to replace

Variant: keep current page number and per page count, retrieve row for
add as page number [current page] * [per page] + 1 paginated by one
record.

On Jun 1, 8:01 am, Dave <m...@davemaharaj.com> wrote:
> 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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate