Adding Matrix templates, updating Matrix international

This commit is contained in:
Yung Han Khoe 2008-11-24 16:00:14 +00:00
parent bf7c3505d7
commit ac0032fedf
9 changed files with 231 additions and 33 deletions

View file

@ -14,7 +14,7 @@ YAHOO.util.Event.addListener(window, "load", function() {
var myColumnDefs = [
{key:"assetId",label:"",sortable:false, formatter:this.formatCheckBox},
{key:"title", label:"Name", sortable:true, formatter:this.formatUrl},
{key:"title", label:"", sortable:true, formatter:this.formatUrl},
{key:"views", sortable:true, sortOptions:{defaultDir:YAHOO.widget.DataTable.CLASS_DESC}},
{key:"clicks", sortable:true, sortOptions:{defaultDir:YAHOO.widget.DataTable.CLASS_DESC}},
{key:"compares", sortable:true, sortOptions:{defaultDir:YAHOO.widget.DataTable.CLASS_DESC}},

View file

@ -23,8 +23,8 @@ YAHOO.util.Event.addListener(window, "load", function() {
var myColumnDefs = [
{key:"stickied",formatter:this.formatStickied,label:""},
{key:"label",formatter:this.formatLabel},
{key:"value"}
{key:"label",formatter:this.formatLabel,label:""},
{key:"value",label:""}
];
this.myDataSource = new YAHOO.util.DataSource("?");