1
EXT视图页面如何获得浏览器的Ext JS元素ID或价值的itemId检查
text : ACTIONS,
xtype : 'actioncolumn',
draggable: false,
dataIndex: 'message',
items:
{
[
{
glyph:'[email protected]',
name : 'edit_customer',
handler: function(grid, rowIndex, colIndex, item, event, record, row)
{
this.up("customer-list").getController().EditCustomer(record);
},
}
]
}
HTML输出:
<span role="button" title=""
class="x-action-col-icon x-action-col-glyph x-action-col-6 x-hide-display"
style="font-family:FontAwesome"
data-qtip="Edit Customer"></span>
但我要在这里把我的ID。
如果刷新按钮的ID将comeing差异数
对于实例页面:ID = “的tableview-1738”
那么如何才能得到ID或driectly html页面的任何attrbute。 我需要在此元素中测试自动化
你想获取处理函数吗? –
不,我不想要蚂蚁功能只是在检查元素得到id意味着id值 –
对不起,我没有得到你 –