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

Retrieve the row value when the mouse hover on the rowbody of the row on the grid extjs?

本文关键字:检索 鼠标 网格 extjs 悬停      更新时间:2023-09-26

如果鼠标悬停在"行体"上,我想检索行的数据。我尝试使用"rowbodyselect"answers"entermouse",但它们无法检索行数据。

有一个名为"itemmouseenter"的侦听器。

这里有一个例子:

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