Skip to content

SaveSelectedRow - cCJGridDataSource

Saves any changes in the SelectedRow

Type: Function
Return Data Type: Boolean

Syntax

Function SaveSelectedRow Returns Boolean

Call Example

Get SaveSelectedRow to BooleanVariable

Description

SaveSelectedRow attempts to save the SelectedRow. This message is sent by the cCJGrid object's SaveSelectedRow method and is part of the grid row save process. It returns False if the save succeeded and True if the save failed.

cCJGrid / cCJGridDataSource

The datasource row is updated with any edits and the row's changed state and new state flags are cleared.

cDbCJGrid / cDbCJGridDataSource

This attempts to save the row by sending Request_Save to the DataDictionary object. If this succeeds, the row is refreshed with any changes that might have occurred within the DataDictionary (in other words, this is a standard DataDictionary save).

You will never send this message and will probably never augment it. If you create a custom datasource class, this interface must be supported.

Return Value

False if the save was a success, True if the save was canceled.