You mean reloading/pushing the table @ each sort ? Could you detail me your thoughts ?
I would hope there is a more simple way to do so with HtmlTable Class and Sort. I would think of updating the HtmlTable class with groupClass Options but I can't figure how/when the sort is really done into the class ... Thanks again, Axel. On 4 mai, 17:28, "Steve Onnis" <[email protected]> wrote: > Wouldn't it be easier just to use some ajax and some server side code to do > your sorting? Especially if there is a lot of data. Atleast that way you can > page the data > > > > -----Original Message----- > From: Axel [mailto:[email protected]] > Sent: Wednesday, 5 May 2010 12:59 AM > To: MooTools Users > Subject: [Moo] Group rows in Sorting > > Hello Mootools users too, > > I have been wondering a long time now, how to sort rows grouped... > > I'm running around and looking for the right solution to do this : I have an > HtmlTable sortable by many columns. I want child rows to be sorted together > with their parent row. > > Example :http://mootools.net/shell/463Mn/ > > The First idea I had was to use the option onSort to resort the current > Table (Table.sort()) and pass the index+reverse+prepare to do this. But this > was not a good idea as figured it out too late. > > Does anyone has a clue for me ? > > Many thanks for your help all, > > Axel.
