Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steve Boulay on Nov 06, 2009 05:19
open dhtmlx forum
splitAt headermenu

Hello,

I want use some fonctionnality of the grid and i have a problem. I use the fonctionnality enableHeaderMenu and hidding column on a grid where the 2 firsts column are frozen. When i see the contextMenu in the header, the content is wrong.

I join my grid.xml what initialize my grid.

Thanks

Steve Boulay

<?xml version="1.0" encoding="UTF-8"?>
<rows>
<head>
<beforeInit>
<call command="attachHeader">
<param>Nom,Prenom,Age,Sexe,#rspan,#rspan,Medecin,Activite,Protocoles,#rspan,#rspan,#rspan,#rspan,#rspan,Debut,Fin</param>
</call>
<call command="setSkin"><param>dhx_skyblue</param></call>
<call command="splitAt"><param>2</param></call>
</beforeInit>
<afterInit>
    <call command="enableHeaderMenu"></call>
    
</afterInit>
<column width="50" type="ro" align="left" sort="str">Patient</column>
<column width="50" type="ro" align="left" sort="str">#cspan</column>
<column width="50" type="ro" align="left" sort="str">#cspan</column>
<column width="50" type="ro" align="left" sort="str">#cspan</column>
<column width="50" type="ro" align="left" sort="str">Heure Arrivé</column>
<column width="50" type="ro" align="left" sort="str">Etat</column>
<column width="50" type="ro" align="left" sort="str">Actes</column>
<column width="50" type="ro" align="left" sort="str">#cspan</column>
<column width="50" type="ro" align="left" sort="str">#cspan</column>
<column hidden="true" width="50" type="ro" align="left" sort="str">origine RDV</column>
<column width="50" type="ro" align="left" sort="str">Patientele</column>
<column width="50" type="ro" align="left" sort="str">RDV multi</column>
<column width="50" type="ro" align="left" sort="str">Type Facture</column>
<column width="50" type="ro" align="left" sort="str">Compte-Rendu</column>
<column width="50" type="ro" align="left" sort="str">Dictee</column>
<column width="50" type="ro" align="left" sort="str">#cspan</column>
</head>
<row id="row1">
    <cell id="chp1_3">WASSE</cell>
    <cell id="chp1_4">Martine</cell>
    <cell id="chp1_5">59a</cell>
    <cell id="chp1_6">F</cell>
    <cell id="chp1_1">08:20</cell>
    <cell id="chp1_2">En Cours</cell>
    <cell id="chp1_7">BagurJ</cell>
    <cell id="chp1_8">RAD</cell>
    <cell id="chp1_9">PANO</cell>
    <cell id="chp1_10">C</cell>
    <cell id="chp1_11">E</cell>
    <cell id="chp1_12">P</cell>
    <cell id="chp1_13">FD</cell>
    <cell id="chp1_14">CRPret</cell>
    <cell id="chp1_15">Debut</cell>
    <cell id="chp1_16">Fin</cell>
</row>
<row id="row2">
    <cell id="chp2_3">AUSSEMS</cell>
    <cell id="chp2_4">Martine</cell>
    <cell id="chp2_5">59a</cell>
    <cell id="chp2_6">F</cell>
    <cell id="chp2_1">08:30</cell>
    <cell id="chp2_2">En Cours</cell>
    <cell id="chp2_7">BagurJ</cell>
    <cell id="chp2_8">RAD</cell>
    <cell id="chp2_9">MAIN</cell>
    <cell id="chp2_10">C</cell>
    <cell id="chp2_11">E</cell>
    <cell id="chp2_12">P</cell>
    <cell id="chp2_13">FD</cell>
    <cell id="chp2_14">CRPret</cell>
    <cell id="chp2_15">Debut</cell>
    <cell id="chp2_16">Fin</cell>
</row>
</rows>
Answer posted by dhxSupport on Nov 06, 2009 08:18
Unfortunately splitAt() functionality is incompatible with enableHeaderMenu() 
Answer posted by Steve Boulay on Nov 09, 2009 00:01
Thanks,

Maybe, it is possible to make me a list of functionnality what are incompatible with splthAt() ?

Answer posted by Stanislav (support) on Nov 09, 2009 06:23
Header menu, additional keymaps, movable columns, col-spans have limited compatibility in split mode. ( They will not break, but functionality may be limited for left part of splitted grid )