GRID:
  -----

  Elements: DIV/TABLE

  Creates an HTML table inside a scrollable DIV.

  Syntax:

  	Grid( oParent, nRow, nCol, nWidth, nHeight, aHeaders, nInnerWidth )

  Methods:

  	- addRow(aRow)
  	- getSelectedRows()
  	- getRowCount()
  	- select()
  	- unSelect()
  	- getCell(nRow,nCount)
  	- setCell(nRow,nCount,cValue)
  	- getSelectedRowCount()
  	- deleteRow(nRow)
  	- setJustify(aAlign)
  	- getId()

  Notes:

  	Possible values for aAlign array: 'right', 'left', 'center' and 'justify'.

  Example:

  	oGrid = new Grid( oWin, 40, 020, 480, 190,
  		[ 'One' , 'Two' , 'Three' ], 550 );

  	oGrid.addRow ( [ 'cell  1.1' , 'cell  1.2' , 'Cell  1.3' ] );



 To download this example - click here.

See Also: