================ on_before_scroll ================ on_before_scroll(item) **domain**: client **language**: javascript **class** :doc:`Item class ` Description =========== Occurs before an application scrolls from one record to another. The ``item`` parameter is an item that triggered the event. Write an on_before_scroll event handler to take specific action immediately before an application scrolls to another record as a result of a call to the :doc:`first `, :doc:`last `, :doc:`next `, :doc:`prior `, and :doc:`locate ` methods. on_before_scroll is called before all other events triggered by these methods and any other methods that switch from record to record in the item dataset. See also ======== :doc:`Navigating datasets ` :doc:`on_after_scroll `