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