GridRow Class [Javascript]

Summary

Properties Description
id Get the id of the row.
Methods Description
getDataItem Get the dataitem of the row.
getElement Get the html object of the row.
getCells Get list of cells in the row.
del Request server to delete this row.
startEdit Open the form for user to edit data in this row.
cancelEdit Cancel the editing of user, no changes will be made on database.
confirmEdit Confirm the editing.
select Select the row.
deselect Deselect the row.
expand Expand tables detail for the row.
collapse Collapse tables detail for the row.
getDetailTables Return list of tables details associated with this row.
isSelected Return whether a row is selected.
isEditing Return whether a row is in editing mode.

Properties Detail

idTop

string id

Get the id of the row.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

getDataItemTop

array getDataItem()

Get the dataitem of the row.

Show/Hide Code

Supported from version: 1.0.0.0

getElementTop

[object] getElement()

Get the html object of the row.

Show/Hide Code

Supported from version: 1.0.0.0

getCellsTop

array getCells()

Get list of cells in the row.

Show/Hide Code

Supported from version: 1.0.0.0

delTop

void del()

Request server to delete this row.

Show/Hide Code

Supported from version: 1.0.0.0

startEditTop

void startEdit()

Open the form for user to edit data in this row.

Show/Hide Code

Supported from version: 1.0.0.0

cancelEditTop

void cancelEdit()

Cancel the editing of user, no changes will be made on database.

Show/Hide Code

Supported from version: 1.0.0.0

confirmEditTop

void confirmEdit()

Confirm the editing. Changes made on data row will be update to database.

Show/Hide Code

Supported from version: 1.0.0.0

selectTop

void select()

Select the row.

Show/Hide Code

Supported from version: 1.0.0.0

deselectTop

void deselect()

Deselect the row. s

Show/Hide Code

Supported from version: 1.0.0.0

expandTop

void expand()

Expand tables detail for the row.

Show/Hide Code

Supported from version: 1.0.0.0

collapseTop

void collapse()

Collapse tables detail for the row.

Show/Hide Code

Supported from version: 1.0.0.0

getDetailTablesTop

array getDetailTables()

Return list of tables details associated with this row.

Show/Hide Code

Supported from version: 1.0.0.0

isSelectedTop

bool isSelected()

Return whether a row is selected.

Show/Hide Code

Supported from version: 1.0.0.0

isEditingTop

bool isEditing()

Return whether a row is in editing mode.

Show/Hide Code

Supported from version: 1.0.0.0