Table Widget for IE? Fixed header, sorting columns, etc

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Randy Webb

    #16
    Re: Table Widget for IE? Fixed header, sorting columns, etc

    Mick White wrote:
    [color=blue]
    > Matt Kruse wrote:
    >[color=green]
    >> Mick White wrote:
    >>[color=darkred]
    >>> http://mickweb.com/football/aleague/profiles.html
    >>> Something like this?[/color]
    >>
    >>
    >>
    >> For purely sorting, that works. But it doesn't do it intelligently - it
    >> requires a parameter to explicitly say what the data type is.
    >>[/color]
    > It would be easy enough to distinguish between String and Number. Just
    > test the first entry in the column, and select the appropriate sort
    > function. You can add your own rules for dates, heights, etc.[/color]

    That won't work.

    var s='1 day at a time';

    Number or String?


    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq

    Comment

    • Randy Webb

      #17
      Re: Table Widget for IE? Fixed header, sorting columns, etc

      Mick White wrote:
      [color=blue]
      > Matt Kruse wrote:
      >[color=green]
      >> Mick White wrote:
      >>[color=darkred]
      >>> http://mickweb.com/football/aleague/profiles.html
      >>> Something like this?[/color]
      >>
      >>
      >>
      >> For purely sorting, that works. But it doesn't do it intelligently - it
      >> requires a parameter to explicitly say what the data type is.
      >>[/color]
      > It would be easy enough to distinguish between String and Number. Just
      > test the first entry in the column, and select the appropriate sort
      > function. You can add your own rules for dates, heights, etc.
      > Mick[/color]

      That won't work.

      var s='1 day at a time';

      Number or String?

      --
      Randy
      comp.lang.javas cript FAQ - http://jibbering.com/faq

      Comment

      • Mick White

        #18
        Re: Table Widget for IE? Fixed header, sorting columns, etc

        Randy Webb wrote:
        [color=blue]
        > Mick White wrote:[/color]
        [color=blue][color=green]
        >> It would be easy enough to distinguish between String and Number. Just
        >> test the first entry in the column, and select the appropriate sort
        >> function. You can add your own rules for dates, heights, etc.[/color]
        >
        >
        > That won't work.
        >
        > var s='1 day at a time';
        >
        > Number or String?[/color]

        Neither, it's the start of a Baptist Hymn....
        Mick[color=blue]
        >
        >[/color]

        Comment

        Working...