[]
        
(Showing Draft Content)

Understanding the Effect of Mode on Events

The setting of the EnableClientScript property affects many aspects of the FpSpread component, including its appearance and what events occur, depending on the operation mode.

Events that are not listed in the following table are not affected by the operation mode.

The events that occur for the FpSpread class are affected by the EnableClientScript setting and the SheetView class OperationMode property as listed in the following table.

Event

Normal

ReadOnly

RowMode

SingleSelect

ActiveRowChanged

Occurs if EnableClient-Script is false

Does not occur

Occurs if EnableClient-Script is false

Occurs if EnableClient-Script is false

ActiveSheetChanged

Occurs

Occurs

Occurs

Occurs

ButtonCommand

Occurs

Occurs

Occurs

Occurs

CancelCommand

Occurs

Does not occur

Occurs

Does not occur

CellClick

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

ChildViewCreated

Occurs

Occurs

Occurs

Occurs

ColumnHeaderClick

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

CreateButton

Occurs

Occurs

Occurs

Occurs

DeleteCommand (AllowDelete set to true)

Occurs

Does not occur

Occurs

Does not occur

EditCommand

Occurs if EnableClient-Script is false

Does not occur

Occurs if EnableClient-Script is false

Does not occur

ErrorCommand

Occurs if EnableClient-Script is false

Does not occur

Occurs if EnableClient-Script is false

Does not occur

InsertCommand (AllowInsert set to true)

Occurs

Does not occur

Occurs

Does not occur

RowHeaderClick

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

Occurs if AutoPostBack is true

SaveOrLoadSheetState

Occurs

Occurs

Occurs

Occurs

SortColumnCommand (AllowSort set to true)

Occurs

Occurs

Occurs

Occurs

TopRowChanged (does not occur if scroll bar is used to change the top row)

Occurs

Occurs

Occurs

Occurs

UpdateCommand

Occurs

Does not occur

Occurs

Does not occur