PHP Classes

multiple sorting

Recommend this page to a friend!

      DrasticTools  >  All threads  >  multiple sorting  >  (Un) Subscribe thread alerts  
Subject:multiple sorting
Summary:drasticSrcMySQL.class.php
Messages:2
Author:bud man
Date:2014-11-19 22:54:46
 

  1. multiple sorting   Reply   Report abuse  
Picture of bud man bud man - 2014-11-19 22:54:46
Hey it's me again the eternal noob, i'm still playing around with your class, very helpfull for me, but i stumble into a need i didn't figure out yet.

How can i set multiple sorting option, ex:sort by country, and then by city inside country etc ?

In this application i use the class only to display data from the mysql table, i tought i could clone the // Do the sorting: sub, but it crashed on me :(

any help would be apreciated.

have a great day
bud

  2. Re: multiple sorting   Reply   Report abuse  
Picture of dd dd - 2014-11-20 08:20:14 - In reply to message 1 from bud man
Hi there,
At the moment multiple sorting is not supported.
Of course anything could be added, but this would require quite some work.

What's more, thank for using drasticgrid.
However, you might also have a look at other grids at the market these days, for instance slickgrid as drasticgrid was designed quite some time ago and newer grids might fit you better.
So: https://github.com/mleibman/SlickGrid