onBeforeConditionSet

fires before a new condition for cells has been set

boolean onBeforeConditionSet(number row,number column,array oldCondition,array newCondition, [string page] );
row
numberthe ID of the row column
numberthe ID of the column oldCondition
arraythe old condition for cells newConditionarraythe new condition for cells pagestringthe name of the sheet
booleanreturning false will prevent the new condition setting

Example

$$("spsheet1").attachEvent("onBeforeConditionSet",function(row,col,oCond,nCond,page){
    // handler code here
    return true;
});

Details

The event is not called for pasting copied data. Use onBeforePaste instead.

See also
  • API
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.