Hello,
when the 3 splitAt’s colums are resizables, the cursor is always the resizable cursor, not the classic cursor, and I can’t sort them. A more little column (Ex. “Ets” in second image) have normal cursor.
When the 3 splitAt’s colums are not resizables, I can sort them.
mygrid = new dhtmlXGridObject('gridbox');
mygrid.setHeader(" , ,#cspan, ,#cspan,<center>GHM</center>,#cspan,#cspan,<center>GHS</center>,#cspan, ,#cspan,#cspan,#cspan,<center>Divergences</center>,#cspan,#cspan,#cspan,<center>Divergences sur les variables du RSA : 0 = non, 1 = oui</center><?php for($i=1; $i <count($recup_valeur); $i++) echo ',#cspan';?>, ");
mygrid.attachHeader("Champ de contrôle,N° (OGC),N° RUM,Valide,GRP,delta GRP,Ets,MC,Ets,MC,Div. RUM,Recalcul,Désaccord,libellés champs de contrôle,Presta,Fait,Prec,Argu<?php for($i=0; $i <count($recup_valeur); $i++) echo ','.$libelle_tableau[$i];?>,Valider codage établissement");
mygrid.attachHeader("#select_filter,#text_filter,#text_filter,#select_filter,#select_filter,#select_filter,#text_filter,#text_filter,#text_filter,#text_filter,#select_filter,#select_filter,#select_filter,#select_filter,#text_filter,#text_filter,#text_filter,#text_filter<?php for($i=0; $i <count($recup_valeur); $i++) echo ',#text_filter';?>,#select_filter");
mygrid.setInitWidths("55,40,40,40,50,40,30,60,60,40,40,60,55,55,40,30,30,50,30<?php for($i=0; $i <count($recup_valeur); $i++) echo ',60';?>");
mygrid.setColAlign("left,left,left,center,center,left,left,left,left,left,left,center,center,left,left,left,left,left<?php for($i=0; $i <count($recup_valeur); $i++)echo ',left';?>,center");
mygrid.setColVAlign("top,bottom,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle<?php for($i=0; $i <count($recup_valeur); $i++)echo ',middle';?>,middle");
mygrid.setColTypes("ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ch,ro,ro,ro,ro,ro<?php for($i=0; $i <count($recup_valeur); $i++)echo ',ro';?>,ch");
mygrid.setColSorting("int,int,int,str,str,str,str,str,str,str,str,str,str,str,str,str,str,str<?php for($i=0; $i <count($recup_valeur); $i++)echo ',int';?>,str");
// SplitAt's columns not resizables
//mygrid.enableResizing("false,false,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true<?php for($i=0; $i <count($recup_valeur); $i++)echo ',true';?>,true");
mygrid.init();
mygrid.setSkin("light");
mygrid.splitAt(3);
mygrid.load("/recapitulatif/loadTableau.php");