Created
January 13, 2009 19:42
-
-
Save sarcilav/46588 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.myDataSource.responseSchema = { | |
fields: ["fila",{key:"dia",parser:"number"}] | |
}; | |
var formatEvent = function ( el , oRecord , oColumn , oData) { | |
el.inner.HTML = oData; | |
oColumn="dia"; | |
YAHOO.util.Dom.addClass(el, "cal-first-uh"); | |
}; | |
var myArray = new Array(288*7); | |
var myColumnDefs = [ | |
{dia:"0", label:"lunes", width:"100", formatter:formatEvent}, | |
{dia:"1", label:"martes", width:"100", formatter:formatEvent}, | |
{dia:"2", label:"miercoles", width:"100", formatter:formatEvent}, | |
{dia:"3", label:"jueves", width:"100", formatter:formatEvent}, | |
{dia:"4", label:"viernes", width:"100", formatter:formatEvent}, | |
{dia:"5", label:"sabado", width:"100", formatter:formatEvent}, | |
{dia:"6", label:"domingo", width:"100", formatter:formatEvent} | |
]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment