changes for the editor add column button to get the row by relative location based on the event