Recommendations for JavaScript table component?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ian Sykes

    #1

    Recommendations for JavaScript table component?

    I'm writing a web application which has the following requirements for
    the presentation of tabular data in HTML to users:

    * Columns and rows can be re-sized by dragging the mouse

    * Internal vertical scrolling is implemented, with column headers
    remaining fixed during scrolling

    * Works with Internet Explorer and Netscape. Compatibility with
    additional browsers is highly desirable.

    * Each column has its own rule for formatting its cells. Cell
    formatting rules can be a function of the value in the cell.

    * The last row's contents can be formatted as a special case. (This
    will enable a row that presents aggregated data such as totals to be
    visually differentiated from the other rows.)

    * The table should have an event-generating selection model which
    allows multiple rows to be in the selected state concurrently.

    * Responsiveness with large data sets (i.e. for 15 columns and 250
    rows, taking less than one second to render or process user input and
    re-render)

    * Cells can contain images

    * Columns can be re-ordered by dragging the mouse

    * Columns in the data model can be hidden

    * Tooltips can be made to appear for all cells, including column
    header cells and row header cells


    What I'm hoping is that there is some 3rd party JavaScript component
    that can generate the tables for me. Can anybody recommend such a
    component?

    Thanks in advance,

    Ian
  • McKirahan

    #2
    Re: Recommendations for JavaScript table component?

    "Ian Sykes" <ian_p_sykes@ya hoo.co.uk> wrote in message
    news:c389e825.0 410260210.1d0b4 5e9@posting.goo gle.com...[color=blue]
    > I'm writing a web application which has the following requirements for
    > the presentation of tabular data in HTML to users:[/color]

    [snip]
    [color=blue]
    > * Works with Internet Explorer and Netscape. Compatibility with
    > additional browsers is highly desirable.[/color]

    Which versions on which O/S'?

    What if JavaScript is turned off?


    Comment

    • Zifud

      #3
      Re: Recommendations for JavaScript table component?

      Ian Sykes wrote:[color=blue]
      > I'm writing a web application which has the following requirements for
      > the presentation of tabular data in HTML to users:
      >
      > * Columns and rows can be re-sized by dragging the mouse
      >[/color]

      Not possible, unless you want to put it in a frame and let users change
      the size of the frame. But that won't change individual columns, just
      the whole lot in proportion.
      [color=blue]
      > * Internal vertical scrolling is implemented, with column headers
      > remaining fixed during scrolling
      >[/color]

      Possible using frames, the whole table could scroll with headers &
      footers fixed.
      [color=blue]
      > * Works with Internet Explorer and Netscape. Compatibility with
      > additional browsers is highly desirable.[/color]

      Hmmm. Depends.
      [color=blue]
      >
      > * Each column has its own rule for formatting its cells. Cell
      > formatting rules can be a function of the value in the cell.
      >[/color]

      One or the other is possible, but the combination may require some
      complex logic that might be nasty in a big table. Think CSS.
      [color=blue]
      > * The last row's contents can be formatted as a special case. (This
      > will enable a row that presents aggregated data such as totals to be
      > visually differentiated from the other rows.)
      >[/color]

      Possible, but requires work with CSS to make reasonable.
      [color=blue]
      > * The table should have an event-generating selection model which
      > allows multiple rows to be in the selected state concurrently.
      >[/color]

      Depends what you mean by "selected". If you mean highlighted by
      changing the colour, etc. then yes. If you mean selected as in for
      copy and paste, no. Again, CSS comes into it.
      [color=blue]
      > * Responsiveness with large data sets (i.e. for 15 columns and 250
      > rows, taking less than one second to render or process user input and
      > re-render)
      >[/color]

      Highly unlikely. Particularly as you don't specify what the page sizes
      are or what is in the 3,750 cells.
      [color=blue]
      > * Cells can contain images[/color]

      Yes.
      [color=blue]
      > * Columns can be re-ordered by dragging the mouse[/color]

      No.
      [color=blue]
      > * Columns in the data model can be hidden[/color]

      Yes.
      [color=blue]
      > * Tooltips can be made to appear for all cells, including column
      > header cells and row header cells[/color]

      Yes.
      [color=blue]
      >
      > What I'm hoping is that there is some 3rd party JavaScript component
      > that can generate the tables for me. Can anybody recommend such a
      > component?[/color]

      I'm sure there are hundreds that claim to do some of what you want, but
      probably none that are worth buying and certainly none that will do it
      all.
      [color=blue]
      > Thanks in advance,
      >
      > Ian[/color]

      Most of what you ask for can be done, however to put it all together in
      one massive 15x250 cell table would kill any client desktop I know of.
      And it is highly unlikely that it would look at all graceful or work
      across a reasonable variety of browsers.

      Try Java with the assistance of one of the web-enabled database
      development environments. Alternatively, look at Flash remoting or
      similar technologies - but you will likely end up with an OS specific
      application that must be ported to different platforms.

      Good luck - Zif.

      Comment

      • Joakim Braun

        #4
        Re: Recommendations for JavaScript table component?

        "Zifud" <ziffy@hotmail. com> skrev i meddelandet
        news:417e3301$0 $13768$5a62ac22 @per-qv1-newsreader-01.iinet.net.au ...[color=blue]
        > Ian Sykes wrote:[color=green]
        > > I'm writing a web application which has the following requirements for
        > > the presentation of tabular data in HTML to users:
        > >
        > > * Columns and rows can be re-sized by dragging the mouse
        > >[/color]
        >
        > Not possible, unless you want to put it in a frame and let users change
        > the size of the frame. But that won't change individual columns, just
        > the whole lot in proportion.[/color]
        <snip>

        You can set the "width" attribute of a table column node using DOM (with
        browser version caveats). If you have a "spacer" column in the header that
        is clicked to resize the two adjoining columns (like in spreadsheets), the
        resulting click->drag->interactivel y resize sequence shouldn't be too
        difficult to implement.

        Joakim Braun


        Comment

        • Ian Sykes

          #5
          Re: Recommendations for JavaScript table component?

          "McKirahan" <News@McKirahan .com> wrote in message news:<Sqpfd.250 369$wV.70364@at tbi_s54>...[color=blue]
          > "Ian Sykes" <ian_p_sykes@ya hoo.co.uk> wrote in message
          > news:c389e825.0 410260210.1d0b4 5e9@posting.goo gle.com...[color=green]
          > > I'm writing a web application which has the following requirements for
          > > the presentation of tabular data in HTML to users:[/color]
          >
          > [snip]
          >[color=green]
          > > * Works with Internet Explorer and Netscape. Compatibility with
          > > additional browsers is highly desirable.[/color]
          >
          > Which versions on which O/S'?
          >
          > What if JavaScript is turned off?[/color]

          The bare minimum is that the component is compatible with IE 5.5 on
          Windows. Compatibility with other browsers is desirable, particularly
          on Windows and especially IE 5.0.

          I'm effectively in control of the users' machines, so JavaScript is
          guaranteed to be enabled.

          Ian

          Comment

          • Ian Sykes

            #6
            Re: Recommendations for JavaScript table component?

            "Joakim Braun" <joakim.braun@j fbraun.removeth is.com> wrote in message news:<ILxfd.914 4$1p.7709@nntps erver.swip.net> ...[color=blue]
            > "Zifud" <ziffy@hotmail. com> skrev i meddelandet
            > news:417e3301$0 $13768$5a62ac22 @per-qv1-newsreader-01.iinet.net.au ...[color=green]
            > > Ian Sykes wrote:[color=darkred]
            > > > I'm writing a web application which has the following requirements for
            > > > the presentation of tabular data in HTML to users:
            > > >
            > > > * Columns and rows can be re-sized by dragging the mouse
            > > >[/color]
            > >
            > > Not possible, unless you want to put it in a frame and let users change
            > > the size of the frame. But that won't change individual columns, just
            > > the whole lot in proportion.[/color]
            > <snip>
            >
            > You can set the "width" attribute of a table column node using DOM (with
            > browser version caveats). If you have a "spacer" column in the header that
            > is clicked to resize the two adjoining columns (like in spreadsheets), the
            > resulting click->drag->interactivel y resize sequence shouldn't be too
            > difficult to implement.
            >
            > Joakim Braun[/color]


            No, it's definitely possible. For example, look at
            http://www.uolweb.com/webgrid.aspx. The snag is that I haven't yet
            found a 3rd party component, free or commercial, that has all of the
            functionality that I need... ;-)

            Ian

            Comment

            Working...