Qlik Community

QlikView Integration

Discussion Board for collaboration on QlikView Integration.

Not applicable

onClick event for vector

Hi,

I am working on an extension object with Raphaeljs. Raphealjs is a javascript library for drawing vectors. Using Raphaeljs I have drawn various shapes. Each shape is represented by a javascript object. These shapes will be rendered differently according to data from qlikview.

What I am hoping to achieve is to associate qlikview table with these different shapes. That means when I click on a particular shape, the corresponding data will also be selected. Could anyone shed me some light on how this onclick event should be coded. I couldn't find any information on that. Thanks in advance.

Regards,

Xue Bin

2 Replies
akl
Honored Contributor

Re: onClick event for vector

Have a look at the SearchColumn, SelectRow, SelectValuesInColumn and SelectTextInColumn methods.

They are all exposed through the Qv.Document.Object.Data class and allows you to select data in the qlikview data model.

Attached is a small extension demonstrating clickable raphael objects, created by Robert Svebeck, and should get you started. Good luck!

Highlighted
Not applicable

Re: onClick event for vector

Hi Alex,

     It helps a lot. Thx for the pointerSmiley Happy

Regards,

Xue Bin

Community Browser