cell coro and clist in xml

hi



i have been able to setup columns cells of type coro and clist in xml by using and



but how do i generate and populate a combo with values for each specific coro cell, and populate a clist for each clist cell from within xm l and not in JavaScript.



Thanks



richard

Hi, sorry for the short notice but i would really appreciate it if you could answer this as soon as possible. i have an urgent deadline which i cannot miss :frowning: and need to get it fixed as soon as i can.

thanks very much

richard

In case of dhtmlxgrid 1.5 it can be done as

  
      ValueAValueA
         ValueB
         ValueC
         ValueD
     
  
  
      NotValueB,NotValueCNotValueA
         NotValueB
         NotValueC
         NotValueD
     
  

Basically cell may contain a list of options which will be used for clist|co  only for cell in question. (“xmlcontent” is a mandatory attribute, which shows that cell data must be processed in specific way )

thanks very much for your prompt reply

best wishes

richard

hi,

i am having some real problems with this and cannot get it to work, do you have an example that i can look at and follow? i am trying to build up the xml and it either tells me that a row does not exist, when it does, or it loads but puts [object Element] in the cell

thanks very much

Sample for clist attached ( sample for “co”|“coro” basically the same, just uses different column type )
Please beware that cells with xmlcontent correctly processed only by pro version of grid.

>>but puts [object Element] in the cell
The first element of cell must be a cell value, and only after it list of options started. Such error may appear if you have cell with list of options but without value.

clist_from_xml.ZIP (4.74 KB)

ok thanks very much

Hi tahnks for your help we have got it working now for the clist but if we change the cell type to coro then it doesnt populate the combo with the options. do you have an example of how to do the coro in the xml.

thanks for all your help

Please check attached sample.

1204902166.ZIP (1.28 KB)

Thanks very much :slight_smile: