Forum Discussion

gabrieloliveira's avatar
gabrieloliveira
New Member
9 years ago
Solved

Click and drag data selection

 

I'm building a new visual using typescript.

And I need to use click and drag data selection that exists on the Windows desktop for example.

 

 

 

The visual I'm building is a matrix , and I need this click and drag function to select the data that will be highlighted.

 

Any idea how to implement this in the visual I'm building?

 

 

 

2 Replies

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    gabrieloliveira

    I guess it is possible as in Javascript but would be quite a challenge. What is the purpose in your case? By the way, you could do multiple selection by pressing "Ctrl" button.

    • gabrieloliveira's avatar
      gabrieloliveira
      New Member

      The idea would be to make a selection of many data from the matrix in the matrix would not appear the data but colored boxes representing, and would need to select dozens of them in a single selection, where the ctrl key would become a tiresome selection, I was able to build the solution in Javascript.
      Thank you very much