web/htmlwidgets.py
branchstable
changeset 5503 5b7eb0839da3
parent 5424 8ecbcbff9777
child 5727 29afb9e715bb
--- a/web/htmlwidgets.py	Fri May 07 20:07:54 2010 +0200
+++ b/web/htmlwidgets.py	Mon May 10 15:14:13 2010 +0200
@@ -326,7 +326,7 @@
         self.w(u'<tr class="header">')
         for column in self.columns:
             attrs = ('%s="%s"' % (name, value) for name, value in column.cell_attrs.iteritems())
-            self.w(u'<th %s>%s</th>' % (' '.join(attrs), column.name))
+            self.w(u'<th %s>%s</th>' % (' '.join(attrs), column.name or u''))
         self.w(u'</tr>')
         self.w(u'</thead><tbody>')
         for rowindex in xrange(len(self.model.get_rows())):