fires after a cell is selected
selection | object | the selected object |
preserve | boolean | indicates whether the previous selection state should be saved |
some.attachEvent("onAfterSelect", function(selection, preserve){
//... some code here ...
});
The selection object depends on the selection mode and includes the following attributes:
If the multiselect mode is enabled, the event will fire:
In each case, the ID of the newly selected item should be passed to the event.
To get the IDs of currently selected items, you can use a combination of the onSelectChange event and the selectRange method.