Search
Grid.adjust Method
See Also
 






Recalculates grid's dimensions.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

function adjust ()

 Remarks

Use this method to recalculate the grid's dimensions after resizing.

 Example

The following code handles the resizeEnd event of a Window and adjusts the grid that is rendered in this Window:

JavaScript  Copy Code

window.resizeEnd.addEventListener(windowEventHandler);


function windowEventHandler(sender, args)
{
   grid.resize();
}

 See Also