How to change mode after delete in custom connector

Hi

$con = new SchedulerConnector($res);
if ($con->is_select_mode()){
//do this my custom code
}
else if (//Navigator status deleted){
i want to change $con mode as selected not deleted
}

How do i achieve this Any help really appreciated.

There is no way to change this property, it is set automatically based on request parameters.
If necessary you can delete all POST parameters and init different instance of SchedulerConnector, as there will be no POST parameters, it will init self in SELECT mode.