Search
DomRenderer.invalidate Method
See Also
 






Implement this method in a derived class to handle re-rendering of the grid control.

Namespace: MindFusion.DataViews
File: DomRenderer.js

 Syntax

JavaScript  Copy Code

function invalidate ()

 Example

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

JavaScript  Copy Code

class MyRenderer extends DomRenderer
{

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

 See Also