Hi:

I've just started with TurboGears (2 weeks in) and would like to use the
DataGrid widget to display lists for me without having to write a template
for the widget.  Yes, I have a template for the page on which the widget
will be displayed, but I would like to avoid having to write a template for
each list widget.  Following some good examples I have been able to
accomplish this so far.  My problem is that I would like to make my columns
sort by clicking on the headings.  The samples I have seen show how you can
set parameters to be passed to a template, and then how to do the sortable
columns, but my objective it to not have to create a template for each one.

Is there a way that I can use DataGrid without a widget template and get the
column sorting to happen automatically?

Also, I see that the style of the grid is controlled by grid.css.  I can't
find grid.css and was wondering what the best way is to override it.  I want
to change the way that the <a> tag is displayed.  Also, can I pass something
in my column definition that will control the <td> styles applied?

           -Jim




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to