SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2003
    Location
    l'Europe
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    dynamic colums in a table

    Hi,

    I'm struggling to put my data "readable" into a (small) table...
    Maybe it is wishfull thinking of it worst kind, but could I achieve my goals with javascript :

    If I make my column titles hyperlinks (like clicking on them sorts the data in the order of that column) so that when I click on a title, the column expands (the others becomes smaller) so that the user can view the data in this column in more detail?
    Something like double clicking on the column headers in MS-Excel?

    Thank you for any comments,

    Sincerely,

    Ann

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    The best way I've seen this happen is with server-side help, especially if said data is coming from a database.

  3. #3
    SitePoint Zealot Arkkimaagi's Avatar
    Join Date
    Mar 2002
    Location
    Lappeenranta, Finland
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it could be done, but crossbrowser solution could be a bit hard to do in this small time I have.

  4. #4
    SitePoint Member codeBreaker's Avatar
    Join Date
    Aug 2003
    Location
    Houston
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree that this can be done easily on the server side. sorting columns might take some time, but it shouldn't be to much trouble.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •