extjs的grid的行响应双击事件

在listeners里面添加下面的代码
listeners: {
    rowdblclick: function(grid, rowindex, e){
        var record = grid.getStore().getAt(rowindex);
        alert("所选行的id信息: " + record.data.id);
    }
}

Written by gegewan on 一月 12th, 2010 with no comments.
Read more articles on 前端技术.

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .