Created
September 9, 2010 16:02
-
-
Save mxgrn/572062 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in grid_panel_pre.js: | |
// React on before edit event to set the recordId property in the editor | |
this.on('beforeedit', function(e){ | |
e.grid.getColumnModel().getCellEditor(e.column, e.record).field.recordId = e.record.id; | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment