【发布时间】:2013-09-26 04:46:00
【问题描述】:
我在 ExtjsGrid 中使用 Rowexpander。 RowExpander 的模板有文本区域,用于从用户那里获取值。
下面是我的代码。如何读取值
var expander = new Ext.ux.grid.RowExpander({
tpl : new Ext.Template(
'<p><b></b><div class="abc"> <input type="textarea" id = "hans_" name ="hans_" value = "{comment}"</ div></p><p></p><p>{promptMsg}</p>'
),
listeners:
{
expand: function(ex, record, body, rowIndex){
},
collapse: function(ex, record, body, rowIndex){
}
}
});
【问题讨论】:
-
已解决...可能对其他人有所帮助