thx Sean for your proposals. to: 2. It sorts for me on one click, I don't need 2 clicks. I'm using Chrome i'am using firefox 3.6 and it needs still 2 clicks, may be a bug.
to 3: I think thats a good and easy way. i'am going to do that. On 12 Feb., 02:41, Sean McArthur <[email protected]> wrote: > 1. the parsers option takes an array of strings. Each string in the array > corresponds to a column in your table. If you want the first column to use > date, and the rest just use default, you use this: > > parsers: ['date'], > defaultParser: 'string' > > 2. It sorts for me on one click, I don't need 2 clicks. I'm using Chrome. > > 3. Sorting the other columns works fine, but your date column is not in the > same Date.parse format. You could either right you're own with > HtmlTable.defineParsers, or another way that I would do it when making the > is you might put the Unix timestamp in the title of each table cell for the > date column, and then sort that column via "title". > > http://jsfiddle.net/seanmonstar/3cLyK/http://mootools.net/docs/more/Interface/HtmlTable.Sort#HtmlTable:Parsers
