tags:

views:

46

answers:

1

My Webservice is currently returning a HTTPResponse which contains thousands of data from a mySQL database (via a Objects.filter). It's currently just displating them in a very boring way!

I'm looking to organised this data in some way. What would be ideal is two things:

The possibility of having a table and maybe having some kind of scroll bar?

Does anyone have any idea what I'm referring to or what package would help me?

+1  A: 

Do you need to return pure HTML (as opposed to, say, JSON and Javascript to show it)? If so, the <table> tag of HTML seems to be what you want; and this is a way to have a scrollbar on the table.

Alex Martelli
Is it possible to wrap Ajax code/general divs around the HttpResponse?
day_trader
Sure, you can put anything you want in your template (or even inject it from the view though in general that's less advisable).
Alex Martelli