Grid

Syntax

var grid = new Grid( args )

Parameters

Parameter Type Description
arg Object Object specifying grid parameters. In addition to parameters below, any Group parameters can be used.
args.clickable Boolean If true, grid will highlight rows on mouseover and fire lineClicked event on mouse click.
args.scroll_mode String Scroll mode specifies grid behavior on scrolling down:
  • last-row-on-bottom - default, grid will scroll till last row is shown at the bottom
  • last-row-on-top - grid will scroll till last row is shown at the top
  • outside-data - grid will scroll past last row in data
Example

See grid layout

See working grid screenshot

Returns

Reference to created [grid].

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.