From f6ce0956690667a1c4d7424a6b751220ecc7e29f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 9 Apr 2014 17:23:50 +0800 Subject: [PATCH] Roo/grid/Calendar.js --- Roo/grid/Calendar.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Roo/grid/Calendar.js b/Roo/grid/Calendar.js index 9765c920d3..8e60fea262 100644 --- a/Roo/grid/Calendar.js +++ b/Roo/grid/Calendar.js @@ -64,6 +64,18 @@ Roo.grid.Calendar = function(container, config){ this.ds = this.dataSource; this.ds.xmodule = this.xmodule || false; + + var cellRender = function(v,x,r) + { + return String.format( + '
' + '
{0}
'+ + '
' + '
', v); + + } + + this.colModel = new Roo.grid.ColumnModel( [ { xtype: 'ColumnModel', -- 2.39.2