The grid widget has an embedded css link in its template, making it
very difficult to override its css.  Here's a very simple patch to
remove that link.  I'd submit this to Trac, but it's down again.

Index: grid.py
===================================================================
--- grid.py     (revision 548)
+++ grid.py     (working copy)
@@ -8,7 +8,6 @@
 class Grid(Widget):
     template = """
 <div xmlns:py="http://purl.org/kid/ns#";>
-<link href="/tg_static/css/widget.css" type="text/css"
rel="stylesheet" />
 <table id="${widget.name}" class="grid form_container ${'
'.join(widget.css_classes)}" cellpadding="0" cellspacing="1"
border="0">
     <thead py:if="widget.headers">
         <td py:for="head in widget.headers">

Reply via email to