Hi there,
So I have an html table which displays rows of information. Each row has the fields:
View: the clickable link,
Start date: start of forecast
End date: end of forecast
The idea is that the clickable link in each row should display a report of sorts in the div just below the table. Which takes us to my problem. Over time, I’d expect this table to have hundreds of rows, so having a callback which listens to the ids of the individual link tags is not practical at all. Add also the fact that this table is updated with new rows each time a forecast is saved, then there’s no easy way to keep track of these link ids.
SO is there a way for me to listen to the clicks in the table and pass some sort of id into a callback dynamically? I’m open to any suggestions or a redesign of a solution to my problem.