JxLib/JxLib — pull request #45 by aek (2011-11-01 22:18:25+00:00)
Title: selected record returned as a second parameter of grid events gridCellClick and gridCellDblClick

on gridCellClick and gridCellDblClick events pass a the record of the store that represent the cell target as a second parameter on the callback function in response to the ticket #56 at: http://jxlib.lighthouseapp.com/projects/71243/tickets/56-jxplugingridselector-and-gridcelldblclickevent-of-the-jxgrid
this can be done for others events. The record is the second parameter to be backward compatible

this allow this kind of code:
grid.addEvent('gridCellDblClick', function(cell, rec) {
alert(rec.data.id);
});