dundas.controls.ReferenceGrid Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.ReferenceGrid
 

Constructors

 
  Name Description
init
 
 

Properties

 
  Name Description
grid Gets the grid.
items
totalColumns Gets the value indicating the total number of columns
totalRows Gets the value indicating the total number of rows
 
 

Methods

 
  Name Description
fillSpace for each cell, expand as much as possible to all empty space while maintaining a rectangular shape.
findClosestBottomNeighbour
findClosestLeftNeighbour
findClosestRightNeighbour
findClosestTopNeighbour
findNextEmptySpot Find the next empty spot that is able to fit an area of the provided width and height.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
insert Insert the item to the next available spot that fits the provided width and height.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.