Loading ...
Sorry, an error occurred while loading the content.
 

Re: [ydn-javascript] Re: Setting a default Datatable sorting

Expand Messages
  • Satyam
    If you can file it in SourceForge, that will help the YUI team keep track of it: http://developer.yahoo.com/yui/articles/reportingbugs/ Satyam
    Message 1 of 4 , Jul 30, 2008
      If you can file it in SourceForge, that will help the YUI team keep
      track of it:

      http://developer.yahoo.com/yui/articles/reportingbugs/

      Satyam


      stefdev wrote:
      > --- In ydn-javascript@yahoogroups.com, Satyam <satyam@...> wrote:
      >
      >> Once the data is loaded, you can call method sortColumn, which is
      >> exactly what clicking on a column header does but you cannot configure
      >> the DataTable to show the data sorted.
      >>
      >
      > Thanks very much,
      > calling DataTable.sortColumn once the data is loaded
      > is ok for me.
      >
      >
      >> Sorting is usually very
      >> efficiently done on the server side and DataTable assumes that if you
      >> care your data to be sorted, you'll have it done on the server. You
      >>
      > can
      >
      >> then tell the DataTable that the data shown is already sorted using the
      >> sortedBy configuration attribute so it adds the visual clues to signal
      >> the column as sorted, but that won't sort it.
      >>
      >>
      >
      > Unfortunately we are using a third-party web service
      > without sorting capabilities.
      >
      > I have found a mistake in documentation:
      > http://developer.yahoo.com/yui/docs/YAHOO.util.Sort.html
      > Returns: void
      > instead it returns a int (-1, 0, 1)
      >
      >
      >> Satyam
      >>
      >
      > Cheers,
      > Stef
      >
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - http://www.avg.com
      > Version: 8.0.138 / Virus Database: 270.5.6/1579 - Release Date: 29/07/2008 6:43
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.