Friday, January 27, 2012

Re: How do you pass dissimilar data from view to template?

If the data is presented as table, datatables is a really nice jquery
plugin for such stuff:

http://datatables.net/

On 27.01.2012 17:31, BillB1951 wrote:
> Thanks for the additional thought on this. It is a much appreciated
> confirmation to me. Last night I was torturing my brain over the
> logistics of what I had conceived, and by this morning I had pretty
> much concluded that I would have to go the route you are suggesting.
> Now I just have to find an existing solution ... or learn Javascript.
> --Bill
>
> On Jan 27, 11:19 am, Dennis Lee Bieber<wlfr...@ix.netcom.com> wrote:
>
>> On Thu, 26 Jan 2012 14:01:50 -0800 (PST), BillB1951<wjbur...@gmail.com>
>> wrote:
>>
>>
>>> Brett, Thanks. That is what I needed. BillB1951
>>>
>> Just an aside: seems like a convoluted plan to keep round-tripping
>> to the server/database each time you refine the filter.
>>
>> I'm presuming the initial data set being sent is the "full" list. If
>> so, might it not be useful to somehow (Caveat: I'm /not/ skilled at
>> this, only toyed with Javascript too many years ago) embed a Javascript
>> action to count the categories, render the filter selections and, when
>> one is picked, have the Javascript modify the page in-place to display
>> only the filtered data?
>>
>> Granted, adding another language on top of Python, Django, and the
>> template language, may be more than desirable.
>> --
>> Wulfraed Dennis Lee Bieber AF6VN
>> wlfr...@ix.netcom.com HTTP://wlfraed.home.netcom.com/
>>
>

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment