Document extension: Detecting click on a cell value within a table
Hi Folks,
Through javascript, is it possible to register an onclick event on a cell value within a straight table ? Here is my use case:
When a value is selected within a straight table cell in the qlikview document, the parent window which opened the qlikview document should be refreshed by sending the clicked value as a parameter.
Currently, I am detecting a selection on a value by registering an onchange event within GetCurrentSelections method of the QV11 javascript API. This works well if the user enters without any selections. However, if a user opens the document with selections, I don't have a way to detect if the selections were changed on document open or via a manual click on a cell value.
Please let me know if there is a way to register an onclick handler on a cell value. Here is the DOM tree where the red text represents the cell value: