Ext rowexpander问题
我用grid.pluging rowexpander.js插件,数据都能出来,但是有一个provinced数据后台得到是一个数字,我要变成相应的省份,可是rowBodyTpl配置里我写函数不起作用,怎么写,请教大神们
plugins: [{
ptype: 'rowexpander',
rowBodyTpl : [
'<p><b>物理位置: </b> BSID:{bsid} 省份:renderer:alert({provinceid});if({provinceid}==31) return "湖北";</p>',
]
}],
width: 400,
height: 200,
collapsible: true,
animCollapse: false
我写成这样也不执行,是不是位置不对???