OnSwitchChanged

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > Grid control > Events >

OnSwitchChanged


 

Occurs when the value of a switch type cell changes.

 


syntax

event OnSwitchChanged(

         col,

         row,

         data

         )

 


Parameters

 

col


Type:

Number


Column position (0~). -1 means not selected.

 

row


Type:

Number


Row position (0~). -1 means not selected.

 

data


Type:

Boolean


The new value.

 


reference