PDA

View Full Version : Sortable table with subtables?



corbula
01-30-2010, 02:01 PM
I have made a table and am able to sort the contents of it, using yoast's table sorting. (http://yoast.com/articles/sortable-table/). But now i need to know if it's possible to make it so when you click on some text in the table, the rest of the table below that text moves down and a subtable is displayed.

For example if i have a table of training courses and i click on one of the courses the bottom part moves down and the dates for the course are displayed in a subtable.

Does anyone know if this is possible, or know a table sorting script that can do this?

Please let me know if this doesn't makes sense.

Thanks.

corbula
01-31-2010, 10:27 PM
I really need this, does anyone have any ideas?

tpravioti
02-01-2010, 11:24 AM
try this: http://wiki.github.com/madrobby/scriptaculous/effect-slidedown

i hope it helps...:)

corbula
02-01-2010, 12:36 PM
Thats great i'm going to see if i can use that in my table somehow. But i'm confused on how to use it as it doesn't seem to give a .js file. any help on what i'm meant to use?

corbula
02-03-2010, 05:53 PM
I tried using the source code for the example but it doesn't work. Can anyone help me?

corbula
02-08-2010, 12:22 PM
I've made a mockup image to make it easier to explain. The first image is the table i've got at the moment, but i want to be able to show subcells like in picture 2.

http://img22.imageshack.us/img22/9940/testing1v.jpg
http://img24.imageshack.us/img24/1948/testingop.gif