# JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

### master index

### Profile: desktop, common

- #### mindfusion.controls

  - Border
  - Calendar
  - Clock
  - ComboBox
  - ContextMenu
  - DatePicker
  - DropDown
  - DropDownStyle
  - Grid
  - GridColumn
  - GridEditorBehavior
  - InlineEditor
  - InlineEditorBehavior
  - ListView
  - MdiWindow
  - Menu
  - MenuItem
  - MessageBox
  - MessageBoxButtons
  - MessageBoxResult
  - Reflection
  - ScrollView
  - Separator
  - SortType
  - SunkenBorder
  - TabPage
  - TabView
  - Thickness
  - ToolBar
  - ToolBarItem
  - ToolTip
  - TreeView
  - TreeViewItem
  - Window
  - WindowHost
  - WindowState
- Copyright 2008-2009
  Sun Microsystems, Inc.
  Use is subject to license terms.

# public class mindfusion.controls.Grid

## Inherits from: .Control > mindfusion.controls.Grid .Control,

## Known subclasses:

- Jump to Section:
- overview
- variables
- functions

### Overview

A data grid control.

### Variable Summary

access | name | type | Can Read | Can Init | Can Write | Default Value | description
--- | --- | --- | --- | --- | --- | --- | ---
public | columns | GridColumn[] |  |  |  |  | The columns displayed in the grid.
public | comparator | Comparator |  |  |  |  | A java.util.Comparator object used for comparing of grid items during sorting.
public | items | Object[] |  |  |  |  | The items displayed in the grid.
public | queryConverter | function(:Object):Converter |  |  |  |  | Invoked for an object in order to fetch a converter for this object. Invoked for an object in order to fetch a converter for this object. Return null if the object is one of the primitive types - Boolean, Integer, Number, String, or java.util.GregorianCalendar, which have built-in conveters. &nbsp;
public | queryEditor | function(:Object):InlineEditor |  |  |  |  | Invoked for an object in order to fetch an editor for this object. Invoked for an object in order to fetch an editor for this object. Return null if the object is one of the following types to use their built-in conevrters: Boolean, Integer, Number, String, java.util.GregorianCalendar and javafx.scene.image.Image. &nbsp;
public | queryValue | function(:Object,:String):Object |  |  |  |  | Invoked for the specified item in order to fetch its value for a specific member. Invoked for the specified item in order to fetch its value for a specific member. If this variable is not specified, the value of the item member will be obtained through reflection, which can be extremely inefficient. &nbsp;
public | rowHeight | Number |  |  |  | 18 | The height of an individual row in the grid.
public | sortableColumns | Boolean |  |  |  | false | A value indicating whether the grid can be sorted interactively by clicking on the column headers.
public | sortColumnIndex | Integer |  |  |  | -1 | The index of the grid column by which is the grid is sorted, or -1, if there is no sorting.
public | sortType | Integer |  |  |  | UNSORTED | The sorting type, if the grid is sorted. The sorting type, if the grid is sorted. One of the values defined in the SortType class. UNSORTED &nbsp;

### Inherited Variables

### Inherited Functions