Skip to content

IsSelectedRowChanged - cCJGridDataSource

Returns True if the selected row has been changed

Type: Function
Return Data Type: Boolean

Syntax

Function IsSelectedRowChanged Returns Boolean

Call Example

Get IsSelectedRowChanged to BooleanVariable

Description

IsSelectedRowChanged is called to determine if the SelectedRow has changes. This determines how a grid will react to requests for saves and row changes. It is the datasource object's responsibility to determine if a row is changed or not.

cCJGrid / cCJGridDataSource

The datasource object always keeps track of the status of the SelectedRow.

cDbCJGrid / cDbCJGridDataSource

The datasource uses its DataDictionary server to determine of the current DataDictionary's record is changed. It does this by calling Should_Save_Row.

Return Value

True if the selected row has changes, False if no changes.