SBM JavaScript Library Guide → Reference → Event Methods → AddRadioCallback
Used to respond to changes in Binary fields with the "Radio buttons" style. All other fields and controls should use AddChangeCallback instead.
| Name | Type | Description | 
|---|---|---|
| objname | String | The name of the field to find. | 
| callback | Function | The function to be invoked when the radio button is clicked. | 
| Result | Value | 
|---|---|
| (none) | 
This example registers a named function to be called on click:
function customRadioCallback()
{
    RefreshWidget( "DataGrid" );
}
AddRadioCallback("Refresh", customRadioCallback);
 
    Callbacks are invoked in the order in which they are added.
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.