Hello!
friend not work for me, keeps me fijate but does not allow update now, something aclarame
checking the calendar brings examples and making some modifications to one of them I noticed the following
This is the file that loads data into the planner
scheduler.init(‘scheduler_here’,null,“unit”);
scheduler.setLoadMode(“unit”)
scheduler.load(“Codigo/Cosul_asesor_L.php?tipo_sol=<?php echo $_GET["tipo_sol"];?>&mostrar=X_perfil”);
then this file multi-table queries as follows:
switch ($_GET[“mostrar”]) {
case "X_perfil": /***************** Case X_perfil ********************************/
/************************************************* *************************
/ * This portion of code is functional for the planner *
fil_X_perfil the name … Which allows select *
download the agenda of all consultants who meet certain *
Profile .* / / *
/************************************************* *************************/
$cosulta ="SELECT cod_asesor,nombre FROM perf_asesor
INNER JOIN asesores ON perf_asesor.cod_perfil='".$_GET["tipo_sol"]."'
and
asesores.codigo = perf_asesor.cod_asesor";
$result = mysql_query($cosulta,$res);
while ($repuesta= mysql_fetch_array($result)){
$codigo_asesores[]=$repuesta["cod_asesor"];
}
$list = new OptionsConnector($res);
$list-> render_sql("SELECT codigo as value, nombre as label FROM asesores WHERE codigo IN('".implode("','",$codigo_asesores)."')","","value,label");
$scheduler = new schedulerConnector($res);
$scheduler->set_options("cod_asesor", $list);
$scheduler->render_sql("SELECT fecha_inicial, fecha_final, descripcion, citas.co_cli, cod_asesor, asesores.nombre as nom_asesor, cliente.nombre as nom_cliente,cita_direc
FROM citas, asesores, cliente WHERE cod_asesor IN('".implode("','",$codigo_asesores)."') AND asesores.codigo=citas.cod_asesor AND citas.co_cli = cliente.co_cli","id_cita","fecha_inicial,fecha_final,descripcion,citas.co_cli,cod_asesor,nom_asesor,nom_cliente,cita_direc
");
Refer to that number of tables display some information grapevine in lixgbox and a tooltip
then for the save file does the following
The code scheduler
var dp = new dataProcessor(“Codigo/guardar_cita.php?co_client=<?php echo $_GET["co_client"];?>&mostrar=X_perfil”);
dp.init(scheduler);
And the file that stores the following
if ($_GET[‘co_client’] != “”){
// Esta funcion se encarga de tomar
function default_values($action){
$action->set_value("co_cli",$_GET['co_client']);
}
$scheduler->event->attach(“beforeProcessing”,“default_values”);
$scheduler->render_table(“citas”,“id_cita”,“fecha_inicial,fecha_final,descripcion,co_cli,cod_asesor”);
Now this allows me to save but not modified or deleted.
seeing examples of it I do not think multiselect_initial_loading
performs these operations because it is not multiselect
DOUBT THAT COULD CLARIFY ME PLEASE …