I had the same problem, and I have a solution.  I had a table with a select 
handler and links that I wanted to open up in new windows without 
triggering the select handler or altering the selection.

I was seeing the problem where the link was not receiving the click.  This 
was because my table selection handler was updating the data in one of the 
columns in the table and redrawing the table so that it would reflect the 
change.  The redraw of the table destroys all of the elements, so the link 
never receives the click.  For testing purposes, I removed the redraw, and 
the link would be followed but I still had a problem where clicking on the 
link would change the selection in the table, which I did not want to 
happen.

So, here's my solution.  It's ugly, but it works.  I use the onmouseover 
event of the link to store the selection and remove the select handler. 
 Then, the link will function properly, and I use the onmouseout event to 
restore the selection and add the select handler back onto the table.

You can see my solution here:  https://jsfiddle.net/w2nLxxx8/

David


On Friday, June 28, 2013 at 1:29:38 PM UTC-5, Manuel Bernal wrote:
>
> I have the same problem, I'm going mad looking for a solution on the 
> internet.
>
> Did you find any solution?
>
> Regards,
> Manuel
>
> El jueves, 14 de junio de 2012 11:06:03 UTC+1, Balamurugan Kalia escribió:
>>
>> Hi.
>>
>> I have a Table chart in which I have implemented a listener for Table 
>> Select event. I also have a column which has html with a link based on the 
>> content. 
>> When I click on the link, the link is not executed instead the Table 
>> select event is executed. If I remove the event listener, the hyper link 
>> gets executed.
>>
>> Is there a way to have the link execute while the select event listener 
>> is active?
>>
>> Regards,
>> Bala.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/940d7e16-0fee-4467-8e28-e8d524bb5d13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to