[jQuery] Re: TableSorter plug-in - custom sorting depending on direction?

2007-11-22 Thread RichUncleSkeleton

OK, thanks for letting me know. Perhaps an idea to incorporate into a
future release?

--
Scott.


On Nov 22, 7:54 am, Christian Bach [EMAIL PROTECTED]
wrote:
 Hi Scott,

 The parser will parse the value inside the table cell and store it's values
 in a huge array representing the table data.

 This is done only once per column and sorting direction. So setting a max /
 min value will only display the right way in one direction.

 /christian

 2007/11/22, RichUncleSkeleton [EMAIL PROTECTED]:



  Here is my page:http://www.doheth.co.uk/db/world/country

  If you sort some columns (eg GDP) you will notice the blank values
  appear at the top. However, I want them to appear at the bottom.
  Initially I created a parser which set the value to Number.MAX_VALUE
  if it was '-'.

  But this moves the blank entries to the top when sorting in descending
  order. Is it possible to always have these at the bottom? Is it
  possible to detect the sort order inside my parser?


[jQuery] Re: TableSorter plug-in - custom sorting depending on direction?

2007-11-21 Thread Christian Bach
Hi Scott,

The parser will parse the value inside the table cell and store it's values
in a huge array representing the table data.

This is done only once per column and sorting direction. So setting a max /
min value will only display the right way in one direction.

/christian

2007/11/22, RichUncleSkeleton [EMAIL PROTECTED]:


 Here is my page: http://www.doheth.co.uk/db/world/country

 If you sort some columns (eg GDP) you will notice the blank values
 appear at the top. However, I want them to appear at the bottom.
 Initially I created a parser which set the value to Number.MAX_VALUE
 if it was '-'.

 But this moves the blank entries to the top when sorting in descending
 order. Is it possible to always have these at the bottom? Is it
 possible to detect the sort order inside my parser?