Hi,
I have a problem with col type “link”. I use like this:
$col[“title”] = “Map Google”;
$col[“name”] = “MapGoogle”;
$col[“link”] = “{MapGoogle}”;
$col[“linkoptions”] = “target=’_blank'”;
and in gridview I see what is in field “MapGoogle”, meaning
“https://maps.google.com/maps?q=44.4358746656,26.1038838888“,
but, when I click on link, open new tab with
Please help,
Tks
1 Answers
OK. I see in demo another alternate method:
I used $col[“default”] = “<a target=’_blank’ href='{MapGoogle}’>{MapGoogle}</a>”; … and it worked perfectly
I used also $col[“link”] = ‘javascript:window.open(“{MapGoogle}”,”newwind”,”height=500,width=800″); void(0);’; … and it worked also
but first metod not..
Thank’s
Your Answer