Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by jay on Jun 10, 2009 01:53
open dhtmlx forum
combo with checkbox within grid

Hi team,
        I am using Pro Edition and my code is

var grdCombo=gridObj.getColumnCombo(gridObj.getColIndexById(0));
grdCombo.addOption([['1','W missing'],['2','Age proof missing'],['3','EBI missing'],['4','Image not clear']]);

How can i implement combo with checkbox.
I have done it with table to grid with
for(i=1;i<=myGrid.getRowsNum();i++)
           {
               var z=new SelectOption("div_Cd","selectId", "div_Cd", 150,true);
                           z.addOption([['1','KYC missing'],['2','Age proof missing'],['3','EBI missing'],['4','Image not clear']]);
               var value=comboValues[i-1].replace('\[','').replace('\]','');
               z.setCheckedValue(value);
               z.setSelectedValue(value);

           }

it works

Regards,
Jay
Answer posted by Alex (support) on Jun 10, 2009 08:06