as you can add arbitrary html to each cell you can create a table with the
following cell
<div id="cell_1">my first cell</div>
Then add in your code

var cell = document.getElementById("cell_1");
cell.onclick = function() { /** do something **/ }

If you add the correct mapping between table cells and ids you can achieve
what you are looking for.
Currently there is no support for cell selection in the table.

CharMan

On Sun, Aug 2, 2009 at 11:09 PM, Dimedrol <[email protected]> wrote:

>
> I'm trying to do the following:
>
> I've got a table with several rows.
> For example, I need to start some method (DB update by passed ID),
> when user click on some cell with HREF inside.
> If user clicks on another cell in current row, I need to delete this
> record.
> So, I need some event handlers for separate cells, not for entire row.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to