Topic: Show/Hide/Sort table columns (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=30914" title="Pages that link to Topic: Show/Hide/Sort table columns (Page 1 of 1)" rel="nofollow" >Topic: Show/Hide/Sort table columns <span class="small">(Page 1 of 1)</span>\

 
DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 03-14-2009 18:44 Edit Quote

Hello

I am looking to be able to allow users to show or hide any of the columns of a particular table, and to be able to change the order of the columns as well (dynamically, of course, without reload. drag and drop re-rordering preferably).
I want to be able to store the user preferences as well (will probably be storing various user preference details in DB already) and display the saved view on load.

I am hoping to gradually add a variety of javascript UI enhancements to various parts of the site (particularly with forms and table views), and am wondering if I should be looking at using a library like jQuery perhaps...

My knowledge of javascript is extremely limited, so I am looking for as much pre-fab as possible!

I would appreciate any input on where/how to start with this, and any tips as far as the bigger picture, being able to progressively add bits of functionality to a site with javascript.

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 03-15-2009 01:24 Edit Quote

http://developer.yahoo.com/yui/examples/datatable/
Not a big fan of YUI, but they are at least pretty comprehensive about what they go after.

You could definitely combine a few little JS libs or jQuery plugins, too... some here (find 'table'):
http://marcgrabanski.com/article/list-of-useful-jquery-plugins

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 03-15-2009 05:00 Edit Quote

Interesting stuff.
Thanks, resio

I have been looking into using various jQuery plugins since I posted this. I must admit to being a little confused, not having used anything like it before!

Looks like I have a bit of reading ahead of me still

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

IP logged posted posted 03-16-2009 00:00 Edit Quote

DL- went to in-dented to check out the newest and greatest and, despite reloading a bunch of times over a while, this is what I ran into:

http://bayimg.com/cAOFfaABf

Warning: include(/home/.dustin/jlbriggs/in-dented.net/includes/links_inc.php) [function.include]: failed to open stream: No such file or directory in /home/jlbriggs/in-dented.net/includes/head.php on line 5
Warning: include() [function.include]: Failed opening '/home/.dustin/jlbriggs/in-dented.net/includes/links_inc.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/jlbriggs/in-dented.net/includes/head.php on line 5
Warning: include(/home/.dustin/jlbriggs/in-dented.net/includes/gallery_inc.php) [function.include]: failed to open stream: No such file or directory in /home/jlbriggs/in-dented.net/includes/head.php on line 6

etc...etc...etc...

I'm on Ubuntu Hardy running Firefox 3.0.7- just thought I'd mention that even though it seems to be server-side.

Good Luck! Let me know if you need anything else- email me at Asylum_Username@gmail.com

Tao
Maniac (V) Inmate

From: The Pool Of Life
Insane since: Nov 2003

IP logged posted posted 03-16-2009 01:37 Edit Quote

I've tried to contact DL about that a few times in the past couple of months too via here and gmail too.
Same thing as Petskull's screen grab. Using Ubuntu, XP Home, XP Professional 64Bit, on Firefox 3. 0 7
http://digitao.co.uk/asylum/in-dented.jpg

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 03-16-2009 02:03 Edit Quote

Yeah, I haven't touched in-dented in a while...I have seen the errors...but haven't had time to correct them.
Must have been a change on Dreamhost's end...

thanks

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 03-28-2009 14:22 Edit Quote

Tablesorter is a wonderful little jquery plugin.

Thanks again reisio - very helpful link. much easier than digging through the main jquery plugin pages...

coach
Nervous Wreck (II) Inmate

From:
Insane since: May 2011

IP logged posted posted 05-31-2011 11:08 Edit Quote
Edit TP: spam removed


Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu