Search
DomRenderer Class
Remarks See Also
 






A base class for grid renderers.

Namespace: MindFusion.DataViews
File: DomRenderer.js

 Syntax

JavaScript  Copy Code

// class
DomRenderer.prototype = {}

 Remarks

A built-in implementation of DomRenderer is the GridRenderer class.

 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
    }
}

 Inheritance Hierarchy

MindFusion.DataViews.DomRenderer

 See Also