当鼠标悬停在网格extjs上行的行体上时检索行值?

时间:2014-10-03 07:37:03

标签: javascript jquery extjs grid

如果鼠标悬停在" row-body"上,我想检索该行的数据。 我尝试使用"行体选择"和"输入鼠标"但是这不会检索行数据。

1 个答案:

答案 0 :(得分:0)

有一个叫做#34; itemmouseenter"。

的听众

以下是一个例子:

{
    xtype: 'gridpanel',
    listeners: {
        itemmouseenter: function(this, record, item, index, e, eOpts ) {
            // record is holding your data of the row
            alert(record.get('yourcolumnindex'));
        }
    }
}