Telerik UI for Windows 8 HTML

The RadGrid type exposes the following members.

Constructors

  NameDescription
Public methodRadGrid
Creates a new RadGrid control.

Methods

  NameDescription
Public methodclearSelection
Clears currently selected items.
Public methodcollapseGroup
Collapses specified group.
Public methodcollapseRow
Collapses specified master row.
Public methoddataItem
Returns the data item to which a given table row (tr DOM element) is bound.
Public methodeditCell
Switches the specified table cell in edit mode. Requires editable: { mode: "cell" }.
Public methodexpandGroup
Expands specified group.
Public methodexpandRow
Expands specified master row.
Public methodhideColumn
Hides the specified column.
Public methodrefresh
Reloads the data and repaints the control.
Public methodreorderColumn
Changes the position of the specified column.
Public methodshowColumn
Shows the specified column.

Properties

  NameDescription
Public propertyaltRowTemplate
Template to be used for rendering the alternating rows.
Public propertyautoBind
Indicates whether the grid will call read on the DataSource initially.
Public propertycolumns
A collection of column objects or collection of strings that represents the name of the fields.
Public propertydataSource
Gets or sets the data source object for this control.
Public propertydetailTable
Gets or sets the options for the detail tables. All newly initialized detail tables will inherit these options automatically.
Public propertydetailTables
Gets an array of all initialized child tables for this table.
Public propertydetailTemplate
Template to be used for rendering the detail rows.
Public propertyeditable
Gets and sets the editing related (create/update/delete) options.
Public propertyelement
Gets the DOM element that hosts this control.
Public propertyfilterable
Indicates whether filtering is enabled/disabled.
Public propertygroupable
Indicates whether grouping is enabled.
Public propertyheight
Sets the height of the grid.
Public propertyinitialized
Indicates whether the control is initialized.
Public propertymessages
Gets the localization messages used by the control.
Public propertynavigatable
Indicates whether keboard navigation is enabled/disabled.
Public propertyowner
Gets the owner RadGrid instance.
Public propertyparentRelation
Gets the parent relations for this table as an object or an array of objects in the form: { masterField: 'field1', detailField: 'field2' }. To configure parent relations, set the detailTable.parentRelation property of the parent table.
Public propertyparentRow
Gets the parent row of the table if it is nested.
Public propertyparentTable
Gets the parent row of the table if it is nested.
Public propertyreorderable
Gets or sets a value indicating whether column reordering is enabled.
Public propertyresizable
Indicates whether column resizing is enabled/disable.
Public propertyrowTemplate
Template to be used for rendering the rows.
Public propertyscrollable
Enable/disable scrolling. Possible values are "none", "enabled" and "virtual".
Public propertyselectable
Indicates whether selection is enabled.
Public propertyselection
Gets or sets selected rows/cells.
Public propertysortable
Indicates whether sorting is enabled.

Events

  NameDescription
Public eventcancel
Fired when the user clicks the cancel "X" button while editing a grid row/column.
Public eventchange
Fires when the grid selection has changed.
Public eventcolumnmenuinit
Fired when the column menu is initialized.
Public eventcolumnresize
Fires when the user resizes a column. The resized column object.The new column width.The previous column width.
Public eventdatabinding
Fires when the grid is about to receive data from the data source. The data items to which RadGrid is about to bind.
Public eventdatabound
Fires when the grid has received data from the data source.
Public eventdetailcollapse
Fires when the grid detail row is collapsed. The jQuery element representing the detail row.The jQuery element representing the master row.
Public eventdetailexpand
Fires when the grid detail row is expanded. The jQuery element representing the detail row.The jQuery element representing the master row.
Public eventdetailinit
Fires when the grid detail is initialized. The data for the master row.The jQuery element representing detail cell.The jQuery element representing detail row.The detail table object.The jQuery element representing master row. The master table object to which the event has been attached.
Public eventedit
Fires when the grid enters edit mode. The jQuery object representing the container element. That element contains the editing UI. The data item which is going to be edited.
Public eventfiltermenuinit
Fired when the grid filter menu is initialized.
Public eventremove
Fires before the grid item is removed. The data item which is going to be deleted.The jQuery object representing the table row that is going to be deleted.
Public eventsave
Fires before the grid item is changed. The data item to which the table row is bound.The jQuery object representing the current table row.The values entered by the user. Availabe only when the editable.mode option is set to "cell" or "cellBatch".
Public eventsavechanges
Fires before the grid calls DataSource sync.

See Also