Forgot to add the sidebar.js file before. :-)

This commit is contained in:
David Norton 2006-02-24 17:51:16 +00:00
parent b0e5715c17
commit 89949042c3

View file

@ -0,0 +1,21 @@
var treeView = {
rowCount : 100,
getCellText : function(row,column){
if (column.id == "title_column") return "Row "+row;
else return "February 18";
},
setTree: function(treebox){ this.treebox = treebox; },
isContainer: function(row){ return false; },
isSeparator: function(row){ return false; },
isSorted: function(){ return false; },
getLevel: function(row){ return 0; },
getImageSrc: function(row,col){ return null; },
getRowProperties: function(row,props){},
getCellProperties: function(row,col,props){},
getColumnProperties: function(colid,col,props){}
};
function setView()
{
document.getElementById('scholar-sidebar-items').view=treeView;
}