Expose the getRowFromEvent method to public.