Guys!!! :smiley:

Help me i am using dhtmlx connector with php (as java didnt work for me).I have created a program and i got the output using mysql database. But i have new assign ment when grid will pop up. If i click on that grid then it must load another table from the database .

I thought first to use switch case such that in case i can attach URl to another html file but didnt work

Secondly when i use if-else loop also it will not work

Pls suggest me how to write an onclick code such that when i click on the grid row it must popup another grid which i attach another url from the database

Also i have captured the Event Rowid which is working but using it i cannot use if-else or case loops to direct another grid

alert(“REGION=”+rowId+" was selected"); /// working
alert(“CELL=”+cellIndex+" was selected"); // working
if(rowId==‘USA’) // not working
mygrid.attachURL(‘henry.html’, true);
//else return true;

This is the code

“if” statement working good for us in your code.
If issue still occurs for you - please, provide with any kind of sample of your code or a demo link, where the issue can be reproduced.

I made it working thanks dude