I've got a page with 4 IGs on it. 1 Master called Family, and 3 Detail grids (Interview, ID, and Alias). I have a Selection Change event executing Javascript Code where I set certain page variables given the currently selected row in my Master IG, Family with each row representing a different family member. The Selection Change event fires for all IGs. I want to limit it to firing only when a Selection Change occurs in Family, but not any of the detail IGs. Is this possible?
The issue is that when trying to add a row to any of the detail IGs, I'm getting a javascript 'undefined' error when testing for this.data.length. I'm still able to add and/or edit the rows in the detail IGs, so I just want to ignore the error. Not sure why it's occuring, but limiting the scope of the event to just the Master(Family) IG would help. I don't want it to fire unless the selection of a new row in the Master occurs. No other time.
Thanks in advance for any insight.
Phil