Version 1
IDataViewProps GrapeCity DataViewsJS Interface

IDataViewProps Interface

Defines properties of DataViewComponent

Heirarchy

  • IDataViewProps

Properties

Optional autoFocus

autoFocus: boolean

Auto focus DOM container on mount.

Optional cols

cols: Array<IColumn>

Specifies an array of column definitions to initialize the grid

Optional config

config: Object

Specifies a JSON object used to deserialize the grid from

Optional containerStyle

containerStyle: Object

Specifies styles of the DOM container

data

data: Array<Object> | Object

Specifies an array of objects for the grid model or a dataSource object

Optional groupingOptions

groupingOptions: any

Specifies options of grouping strategy.

Optional id

id: string

Specifies ID of the DOM container

Optional layout

layout: ILayoutEngine

Specifies layout strategy. Default value is instance of GridLayout with default options

Optional options

options: any

Specifies options of layout strategy and other common options like filtering/sorting/grouping.