On 12 Jan 2009, at 23:02, Adrian Gould wrote:
> Way back when i originally posted the problem.. > >>> Task 1) I wish to implement clickable headers that allow the user to >>> decide upon which column to sort by. > > Here we both may have misread/misrepresented the problem - the > solution is the one I wanted, click on the header to reorder the > result set without any Javascript/AJAX at the time. > > I look at the underlying data from a query as a result set and that is > what I wanted reordering... In that case, you're most of the way there. Just use a session to store the currently active column and its state, a little bit of logic for handling change of state of the same column, and then you just have to worry about how you're going to present that to a user in a non-graphical sense ;) It may also be worth adding a tooltip or something explaining that the reordering doesn't reorder the current on-page resultset, but the entire resultset. I believe the currently accepted standard is to reorder to on-page result set (hence the wealth of JS table sorters). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
