Search
Grid Methods
 


 Public Methods

  Name Description

addRow

Adds a row.

adjust

Recalculates grid's dimensions.

attach

Control.attach override.

bringIntoView

Ensures that the specified row is visible.

detach

Control.detach override.

disposeActiveEditor

Disposes the active grid cell editor.

disposeContextMenu

Disposes the current context menu.

draw

Control.draw override.

focusCell

Sets the focus to the cell at the specified position.

getCellElement

Gets the DOM element of the cell in the specified coordinates.

getColumnWidth

Gets the width of the specified grid column.

getKeyRow

Gets the row with the specified key.

getRowElement

Gets the DOM element of the specified row.

getRowKey

Gets the key of the row at the specified index.

isRowVisible

Checks if the row at the specified index is currently visible.

rebind

Refreshes the Grid after external modifications to the grid model.

refresh

Repaints the grid contents.

refreshRows

Repaints a range of rows.

removeRows

Removes a range of rows.

selectCell

Selects the cell at the specified position.

selectRows

Selects the rows in the specified range.

setColumnWidth

Sets the width of the specified grid column.

sortByColumn

Sorts by the specified column and sort direction.

 See Also