Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Djay on Dec 02, 2009 12:43
open dhtmlx forum
dhtmlxcombo in dhtmlxGrid cell is not showing all the option values

 

I am using dhtmlxGrid with dhtmlxCombo as one of the column type. I am loading dhtmlxGrid data, column headings  and column types from XML configuration.

When dhtmlx is lodded, I want to see the dhtmlxCombo with all the options availalbe so that I can select one of them. But when I double click the grid cell that has combo,  it shows only one value.

 

Any idea of what I may have missing?

Below is my xml configuration that I load for my dhtmlxGrid

<rows>

  <head>
  <column width="20" type="ro" align="left" sort="str">Wire Code</column>
  <column width="20" type="ro" align="left" sort="str">Org. Name</column>
  
  <column width="20" type="combo" editable="false" source="" align="left" sort="str" >Status
      <option value="IN USE">IN USE</option>
      <option value="AVAILABLE">AVAILABLE</option>
      <option value="CLEANSING">CLEANSING</option>
      <option value="RESTRICTED (DO NOT USE)">RESTRICTED (DO NOT USE)</option>
   </column>
   <column width="20" format="%m/%d/%Y" type="dhxCalendar" align="left" sort="str"  >Effective Date</column>
   <column width="20" type="link" align="left" sort="str">Action</column>
  
     <settings>
            <colwidth>%</colwidth>
     </settings>
    </head>

  <row id="1001">
  <cell>KB</cell>
  <cell>Manchester, NH</cell>
  <cell>IN USE</cell>
  <cell>05/01/1998</cell>
  <cell>History^javascript:alert("history");^_self</cell>
 </row>


</rows>

 

When I configure my XML as below to load the options values for dhtmlxCombo, then it works fine.  I dont what to configure my XML as below since it requires to XMLS one for grid and another for dhtmlxCombo values.

 

<column width="20" type="combo" editable="false" source="data.xml" align="left" sort="str" >Status </column>

 

Please help.

Answer posted by Alex (support) on Dec 03, 2009 01:51