Hello 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
<?php
$query = “SELECT shotStatus from shotStatus ORDER BY shotStatus”;
$rss1 = mysql_query($query);
while($data2 = mysql_fetch_array($rss1)) {
$shotStatus1 = $data2[‘shotStatus’];
?>
<?=$shotStatus1?>
<?php } ?>
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;
})
})
waiting for reply
It seems that you have situation when some cell in your grid has a combo type, but there is no combo collection in grid - which is seems an impossible case.
Which version of the grid and combo you are using?
If you are using latest version and issue still occurs - please provide any kind of sample or demo link where issue can be reconstructed. You can send such data directly to support@dhtmlx.com
Hello
I am using dhtmlxGrid v.2.1 professionaleditor build 90226
© DHTMLX ltd. version
Please reply me the possibilities as soon as possible
Thanks
Suraj
Hello,
please provide the sample to recreate the issue to support@dhtmlx.com.
One remark - data.php should return correct xml stream: content-type should be text/xml and the xml structure should be as follows:
…
…