function redraw_PlanningLayout() { var height_dispo = $('#eagirh_content').height(); var width_dispo = $('#eagirh_content').width(); var scroll = 17; // Epaisseur de la barre de scroll var width_correction = 6; // Correction en largeur pour l'affichage correcte de la barre de scroll à droite du planning var height_correction = 60; // Correction en hauteur pour l'affichage correcte de la barre de scroll en bas du planning var margin_top_footer = 10; // Marge entre le planning et la barre des besoins if(ie) { height_correction += 15; } if($('#eagirh_elements_filtres')) { height_dispo -= $('#eagirh_elements_filtres').height(); } $('#planningLayoutHeader').width(width_dispo - widthPlanningLeftColumn - scroll - width_correction -1); $('#planningLayoutFooter').width(width_dispo - widthPlanningLeftColumn - scroll - width_correction -1); $('#planningLayoutData').width(width_dispo - widthPlanningLeftColumn - width_correction); $('#planningLayoutLeftColumn').height(height_dispo - heightPlanningHeader - scroll - height_correction - margin_top_footer - heightPlanningFooter -1); $('#planningLayoutData').height(height_dispo - heightPlanningHeader - height_correction - margin_top_footer - heightPlanningFooter); } /** * Parcours la colonne de gauche du datatable et créé des rowspans pour les lignes se succédant et ayant le même contenu */ // function MakeRowspanOnLeftColumn() // { // var firstOccurance = null, cell = null, value = null, rowspan = 0, val = '', content = null; // $(".DTFC_LeftBodyWrapper table tbody tr").each(function() // { // cell = $("td:first", this); // val = cell.html(); // // /* Reset values on new cell data. */ // if(val != value) // { // if(value != undefined) // { // // content = firstOccurance.html(); // firstOccurance.html(''); // firstOccurance.attr("rowspan", rowspan); // firstOccurance.html('