PHP Classes

Post subject: Tough one: Drag n Drop Rows and their Place Order

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  Post subject: Tough one: Drag n...  
Subject: Post subject: Tough one: Drag n...
Summary:Post subject: Tough one: Drag n Drop Rows and their Place Order
Messages:2
Author:asif kilwani
Date:2009-01-29 08:24:50
Update:2009-02-02 21:43:48
 

  1. Post subject: Tough one: Drag n...   Reply   Report abuse  
Picture of asif kilwani asif kilwani - 2009-01-29 18:22:45
Hi,

I have a grid where i can swap multiple or single rows at once and i want to use this functionality for re-ordering records. But my grid has paging, ordering and sorting.

E.g.:
current page: 3
sorted by: status (asc)
page limit: 5
Current Record display (id, place_order): [(1,1), (15,15), (23,23), (21,21), (4,4)]

now if user swaps rows as: [(15,15),(1,1), (23,23), (4,4),(21,21)]

I am confuse that what will be the new place_orders (order sequence) for them.

Any expert can help on that?

There is 1 reply in this thread, which is not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.