Forum Discussion
ysapiyev
8 years agoResponsive Resident
Multiple selection in custom visual
Hi everyone. I wanted to know, how to do multple selection using pressed CTRL button and mouse click, instead of mouse click. I set this.selectionManager.select(d.identity, true), and it select...
- 8 years ago
Hello ysapiyev,
You should use something like this (event documentation):
// event is a mouse event const isCtrlKeyPressed = event.ctrlKey; this.selectionManager.select(d.identity, isCtrlKeyPressed);
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
ysapiyev
8 years agoResponsive Resident
v-viig
8 years agoCommunity Champion
That code snippet looks good.
Can you share the whole source code for debugging?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- ysapiyev8 years agoResponsive Resident
- v-viig8 years agoCommunity Champion
It'd be better to share all of files.
You can send all of them to [email protected].
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals