A
A
Aidar2020-09-09 12:46:05
Angular
Aidar, 2020-09-09 12:46:05

How to change variable text after click in listener?

Hello! I am using anyChart to plot a Gantt chart. I am trying to change the title text when clicking on a row element. But it didn't. I added a default variable with a value of 123. And then when I click a row element, the text should be changed to 567567. Maybe Angular doesn't allow you to assign a value to a variable inside a listener. Maybe I don't know something.
Here is an example with a problem. There you need to click on the element to change 123. The click itself catches chart.listen

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question