Share via


Shell.DataGrid.js

 

Applies To: Windows Azure Pack

Creates a Shell Data Grid that can save view settings (column widths, page number, select, sort) across instantiations of the same grid.

Widgets

$("Selector").shellDataGrid()

Options

The shellDataGrid widget supports the following options in addition to those from fxDataGrid (its base widget):

Option

Description

settings

(Optional) An object with optional 'columnWidths', 'pageNumber', 'selection' and 'sort' properties, each describing the path to which the view setting will be saved. If a settings property is not supplied or supplied as null, the setting will not be saved.

settingsOptions

(Optional) An options object passed to Shell.Configuration.ViewSettings to get and update view settings. For more information, see Shell.Configuration.ViewSettings.js.

id

(Optional) A string or array of strings that are the properties that uniquely describe a selected data item, for the purposes of saving a selection.

Properties

None

None.

Methods

None.

See Also

Windows Azure Pack Extension Shell Library Reference