Search
DomRenderer.onScroll Method
See Also
 






Implement this method in a derived class to handle scrolling.

Namespace: MindFusion.DataViews
File: DomRenderer.js

 Syntax

JavaScript  Copy Code

function onScroll ()

 Example

The following code shows you how to implement a custom class that extends DomRenderer and implements the onScroll method:

JavaScript  Copy Code

class MyRenderer extends DomRenderer
{

   /**
   * DomRenderer.onScroll override.
   */
   function onScroll() {
     
 invalidate();
    }
   
    /**
    * DomRenderer.invalidate override.
    */
    function invalidate()
    { 
        //put code that repaints the grid
    }
}

 See Also