Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Dec 16, 2009 04:33
open dhtmlx forum
this.grid._col_combos has no properties

Hello

I am using dhtmlxGrid v.2.1 professionaleditor build 90226 (c) DHTMLX ltd. version
I m stuck of the above error i m sending u my code please tell me what i do to solved this error

data.php
<?php
$res=mysql_connect("localhost","root","");
mysql_select_db("kanibrainnew1");
?>
<select name="txtShotStatus" style="border:0; font-size:10px; width:80px;">
<option>Select</option>
<?php
$query = "SELECT shotStatus from shotStatus ORDER BY shotStatus";
$rss1 = mysql_query($query);
while($data2 = mysql_fetch_array($rss1)) {
$shotStatus1 = $data2['shotStatus'];
?>
<option value="<?=$shotStatus1?>"><?=$shotStatus1?></option>
<?php } ?>
</select>





mygrid.attachEvent("onRowSelect",function(row_id,column_index){
//alert(column_index);
if(column_index==1)
{
var value4 = this.cells(row_id,2).getValue();
window.open("newTask.php?shotID="+value4, "width=700px,height=220px,left=150px,top=10px,resize=1,scrolling=0", "recal");
}
else if(column_index==3)
{
var combo = mygrid.getColumnCombo(3);
combo.loadXML('data.php');

}
return true;


})
})



Please reply me the possibilities as soon as possible

Thanks
Suraj
Answer posted by Alex (support) on Dec 16, 2009 04:42