Column Type With "clist,combo" etc


#1
The below XML we are trying to populate with **DhtmlxGrid**

<?xml version='1.0' encoding='ASCII' standalone='yes'?>
<rows>
    <userdata name="recordCount">4</userdata>
    <userdata name="draftItemIDCSV"></userdata>
    <head>
    <column align="left" id="19380_3" width="100" sort="server" type="clist">Choice &lt;span class='caret' &gt;&lt;/span&gt;</column>
    </head>     
    <row id="18986">
        <cell>MaleFemale&lt;/table&gt;</cell>
    </row>
</rows>

I am not able to populate the cell with column type "clist" even I have used column type **clist**

#2

Please, note, that the “clist” column type is avaialble in PRO version only.


#3

Hi sematik thanks for reply we are using Professional version
Below is product detail we have
Product Name: dhtmlxGrid
Version: 4.4
Edition: Professional
File Address : codebase/excells/dhtmlxgrid_excell_combo.js
File Address : codebase/excells/dhtmlxgrid_excell_clist.js
or other files available in codebase/excells folder not able to use properly showing me many issues like

While i am trying to use above two JS file in my current implementation showing me error related to dhtmlxcombo.js or CSS related issue facing .

Can u just conform me ! are we providing Column type = ‘combo’ with dhtmlxGrid Version: 4.4 ?


#4

I apologize for the delay.
yes, “combo” excell is available in 4.4 version.
If the problem still occurs for you please, provide a complete demo or a demo link, where the problem can be reconstructed.


#5

Thanks , The problem is resolved there was problem with our folder structure .


#6

@sematik i have another issue while i am using column type combo and cell contain single quotes at that time grid not able to render.
instead of this (’) special character we are able to render other characters.
We are using xml encoded type ASCII.
ColumnType = “Combo”
Cell String Date = Yuvraj’


#7

Unfortunately the problem cannot be reconstructed locally.
Could you please, provide a simplified complete demo or a code snippet, so the issue can be reproduced.


#8

Hi I have an issue with Column Type dhxCalendar

<?xml version='1.0' encoding='ASCII' standalone='yes'?>
<rows>
    <userdata name="recordCount">1</userdata>
    <userdata name="draftItemIDCSV"></userdata>
    <head>
        <column type="ro" align="left" width="5" id="dummy" sort="na"></column>
        <column type="ch" align="left" width="30" id="select" sort="na">&amp;nbsp;</column>
        <column align="left" type="ro" width="30" id="edit" sort="na">&amp;nbsp;</column>
        <column align="left" id="31508_5_1" width="120" sort="server" type="dhxCalendar">Date 1 &lt;span class='caret' &gt;&lt;/span&gt;</column>
        <beforeInit>
            <call command="enableResizing">
                <param>'false,false,false,true'</param>
            </call>
            <call command="enableTooltips">
                <param>'false,false,false,true'</param>
            </call>
        </beforeInit>
    </head>
    <row userHasEditItemAccess="true" id="25992">
        <cell>&amp;nbsp;</cell>
        <cell>0</cell>
        <cell>&lt;span class='dropdown inlineBlock isheetDrop' &gt;&lt;a data-toggle='dropdown' data-placement='top' class='icon icon-actions dropdown-toggle' data-original-title='#More actions' &gt;&lt;/a&gt;&lt;ul role='menu' class='dropdown-menu' &gt;&lt;li&gt;&lt;a tabindex='-1' onclick='javaScript:AddSheetItemCollection.viewItemModal(25992)'&gt;#View&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a tabindex='-1' onclick='javaScript:AddSheetItemCollection.editItem(25992,15045,4031,16120)'&gt;#Edit&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;</cell>
        <cell colDateTimeFormate="1" colDateFormate="3" calDate="15.03.2019" calTime="" style="cursor:pointer">20.10.2014</cell>
    </row>
</rows>

The issue is with date format 20.10.2014 this data not showing in grid
only supported format is 20/10/2014 this work fine.

I have to manage this from XML!
please provide any suggestion .!

Ref Img : Date%20Looks%20like


#9

Plea,se try to define the required date format using the “format” parameter of the column:

<column type="dhxCalendar" format="%d.%m.%Y"</column>

https://docs.dhtmlx.com/api__dhtmlxgrid_setdateformat.html


#10

Hey thanks issue resolve .


#11

@sematik We have the issue with below XML ! not getting the render. (Cambria Math font family)

<?xml version='1.0' encoding='ASCII' standalone='yes'?>
<rows>
    <userdata name="recordCount">1</userdata>
    <userdata name="draftItemIDCSV"></userdata>
    <head>
        <column align="left" id="33454" width="150" sort="server" type="ro">Cambria Math Font &lt;span class='caret' &gt;&lt;/span&gt;</column>
    </head>
    <row userHasEditItemAccess="true" id="26992">
        <cell>𝐁𝐢𝐭𝐭𝐫𝐞𝐱</cell>
    </row>
</rows>

Provide suggestion to render this type of font data in grid


#12

If you are using the ascii, please, try to place the ascii codes in your xml, not the formatted text:
<cell>&#119809;&#119842;&#119853;&#119853;&#119851;&#119838;&#119857;</cell>