Search
DomRenderer.onSort Method
See Also
 






Implement this method in a derived class to handle sorting.

Namespace: MindFusion.DataViews
File: DomRenderer.js

 Syntax

JavaScript  Copy Code

function onSort ()

 Example

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

JavaScript  Copy Code

class MyRenderer extends DomRenderer
{

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

 See Also