1. paj
  2. tw2.yui

Commits

pa...@paulj-PC.lab.pentest.co.uk  committed 77e473f

Add DataTable widget

  • Participants
  • Parent commits b6b14a3
  • Branches default

Comments (0)

Files changed (1)

File tw2/yui/templates/datatable.html

View file
  • Ignore whitespace
+<div xmlns:py="http://genshi.edgewall.org/">
+<style type="text/css">
+  .yui-skin-sam .yui-dt-liner { white-space:nowrap; } 
+</style>
+<div py:attrs="w.attrs"></div>
+${w.datasrc.display()}
+<script type="text/javascript">
+    new YAHOO.widget.DataTable("$w.compound_id",
+            $w.columns, tw2_yui_datasources["$w.datasrc.compound_id"], $w.options);
+</script>
+</div>