I hope someone can help.

I have a simple Grid with an Expander Row, which opens another simple Grid.

On the CHILD Grid, I have a button that I want to get the value of a field from the Selected Row of the Parent Grid. Simple enough. I've used variations of this many times before. Here's the code I'm using to get the value:
var parentObj = {grid.Object}.getParentObject();
var pRowNum = parentObj.getSelectedRow(); //I also tried: var pRowNum = parentObj._selectedRow;

The "alert" ALWAYS returns "1," no matter which Parent Grid row I've expanded. As a result, when I try to get a value from the selected row of the Parent (see below), it ALWAYS returns the corresponding value of the field in the first row of the Parent Grid (instead of the selected row).

var getBalDue = parentObj.getValue('G','BALDUE',pRowNum);

As I said, I've used this function before, but it's not working for me now. I don't know if this is a bug in the Alpha software, or, more likely, that I've done something wrong with the code.

If you have any suggestions, I'd appreciate it.