日期:2014-05-18  浏览次数:20679 次

GridTree如何取其它列的值
我alert的是本列的值,如果想alert主键的值,如id,怎么写?

var GridColumnType = [
                                {
header : '地域名称',
headerIndex : 'disId',
columntype : {
inputtype : 'html',
htmlStr : '<button onclick="alert(\'$\');">$</button>',
nameId : 'textbox'
}
}

------解决方案--------------------
extjs么?一年多没用过了,挺怀念的啊。。