Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 51339

Selection for table

$
0
0

Hello!

I have a two related columns (string type). It can be represented so:

 

Col1Col2
Aaa
Aab
Bba
Bbb
Bbc
Cca

 

I need to create a visual with dropdown menu, which will contains values from both columns, but only second column's values are selectable, like so:

A
aa
ab
B
ba
bb
bc
C
ca

 

That is, I select unique Col2 value and other visuals get filtered. I've made this menu with such table mapping:

"table": {
  "rows": {
    "select": [{"for": {"in": "col1"}},{"for": {"in": "col2"}}]
  }
}

And now I'm stuck in interaction with other visuals because selections can be apply only for categorical view. Is there a way to use selections in my visual or I need to go to other data mapping? I just want to click one unique value and filter other visuals. Thanks.

 

P.S.: don't offer me to use visual gallery examples.


Viewing all articles
Browse latest Browse all 51339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>