jeudi 7 mars 2019

Removing row from table chart

how could I remove row from table charts?

Is it possible to do that by click on button which is in the row?

I made table chart like this: https://developers.google.com/chart/interactive/docs/gallery/table

and the rows looks like the below example (4th element in row is the button):

data.addRow([first, second, third, {v:'RemoveButton', f:'<input type="button" value="Remove" />'}]);

I would like to remove the row from existing table chart by pressing the button.

I set allowHtml as true to make the button.




Aucun commentaire:

Enregistrer un commentaire