way as we did in the previous recipe:
var bugData = [{
id: 1,
title: 'Bug 1',
description: 'Bug 1 Description',
status: 'In Progress',
severity: 1
}
...
];
var tpl = new Ext.XTemplate('
'
'
'
'
'
'
','
'
#FF0000;"
>','
'
'
'
','
','
',{
isHighPriority: function(severity){
return severity > 3
}
}
);
tpl.overwrite(Ext.getBody(), bugData);
댓글 없음:
댓글 쓰기