I need make different get requests depending on whether I move forward or backward on the table. What event I must use and how to make this?