View Full Version : Grid Row to pass parm to Window

28 Jun 2011, 7:13 AM
I have an actioncolumn that I would like to click and pass a value from that row to a window. I see that I can get at the "ssn" and display it.

I'm lost when trying to pass it and use it in a window to load a form.

My attempt to pass it was in the line: detailsWindow.show(rec.get('ssn'));

xtype : 'actioncolumn',
width : 50,
items : [{
icon : '../examples/shared/icons/fam/grid.png',
tooltip : 'View member details',
handler : function(grid, rowIndex, colIndex) {
var rec = visitationStore.getAt(rowIndex);
// Ext.Msg.alert('Alert', 'Details for: ' + rec.get('name') + ' : ' + rec.get('ssn'));

My attempt to use it falls completely flat! I would post the code, but it would probably just confuse the issue because I think it's completely wrong!

28 Jun 2011, 7:25 AM
Maybe I should try this: http://www.sencha.com/forum/showthread.php?134713-Pass-data-into-Ext.Window&highlight=window+params