Could you please tell me,how to set/get value from the combo

Hello,

   I’m using combo in the grid cells.

    <?xml version=‘1.0’ encoding=‘UTF-8’?> <rows> <head>  <column width=‘180’ type=‘combo’ align=‘center’><![CDATA[Action<span style=‘color:red’>*</span>]]> </column>></head>


   Appreciate if you can provide the sample code.Thanks!

You can get combo object and use its API to add|delete options

    grid.loadXML(url,function(){
       var combo=this.getColumnCombo(0);
       combo.addOption({value:1,label:“one”})
       combo.addOption({value:2,label:“two”})
       combo.deleteOption(1)
    });