Re: table display with AJAX

2009-02-07 Thread Antoni Aloy

2009/2/7 Gerard Flanagan :
>
> MrJogo wrote:
>> Hi,
>>
>> One of my pages is going to have a table that I'd like to be sortable,
>> and I'm wondering the best way to do this. I looked into django-
>> tables, which seems good, but once the page is loaded, I'd also like
>> to be able to sort dynamically (using javascript). Before I go and
>> implement this myself, anyone have any suggestions on already made
>> solutions? Thanks.
>
Look at my sample code at:

http://code.google.com/p/appfusedjango/source/browse/#svn/trunk/jqagenda

It uses a slighty patched version of jqgrid.

-- 
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: table display with AJAX

2009-02-07 Thread Gerard Flanagan

MrJogo wrote:
> Hi,
> 
> One of my pages is going to have a table that I'd like to be sortable,
> and I'm wondering the best way to do this. I looked into django-
> tables, which seems good, but once the page is loaded, I'd also like
> to be able to sort dynamically (using javascript). Before I go and
> implement this myself, anyone have any suggestions on already made
> solutions? Thanks.


http://developer.yahoo.com/yui/datatable/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: table display with AJAX

2009-02-06 Thread Fabio Natali

MrJogo wrote:
[...]
> One of my pages is going to have a table that I'd like to be sortable,
> and I'm wondering the best way to do this. I looked into django-
> tables, which seems good, but once the page is loaded, I'd also like
> to be able to sort dynamically (using javascript). Before I go and
> implement this myself, anyone have any suggestions on already made
> solutions? Thanks.

Are you sure you need AJAX as you state in your mail subject? I guess
some js will do the trick.

I got nice results with tablesorter [0].

Cheers,
Fabio.

[0] http://tablesorter.com/docs/

-- 
Fabio Natali

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



table display with AJAX

2009-02-06 Thread MrJogo

Hi,

One of my pages is going to have a table that I'd like to be sortable,
and I'm wondering the best way to do this. I looked into django-
tables, which seems good, but once the page is loaded, I'd also like
to be able to sort dynamically (using javascript). Before I go and
implement this myself, anyone have any suggestions on already made
solutions? Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---