Commits

Anonymous committed 77e473f

Add DataTable widget

Comments (0)

Files changed (1)

tw2/yui/templates/datatable.html

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