Em Quarta 31 Maio 2006 08:55, pythonwin escreveu:
> Has started to pick AJAXGrid under TG 0.9a6, well and used an example
> from
> http://trac.turbogears.org/turbogears/wiki/AjaxGrid
>  All works without mistakes, but style to not like me, and as it to
> change I do not know.
>
> Can prompt as to change style.


If I understood it correctly, you're wanting to take a look at the actual 
template and create a new one.  If you create a new template, the grid will 
have the appearance you defined.

The actual template is in turbogears/widgets/big_widgets.py.  You can create a 
new one and either subclass AJAXGrid and use your own template or just 
override the template by passing it to the widget. 

I prefer subclassing and giving it a name that makes it clear that it is not a 
core widget, that there are changes.  This also allows me to "grep" for it in 
an easier way.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to