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

How to define Table DataViewMappings

$
0
0

Hi,

I want to make a custom visual with just two columns, one for text and other for a link button.

Ho can I define the dataview model.? I couldnot find any doc that defines a dataview for Table like one for Categorical

 

dataViewMappings: [{
                             categorical(Table?): {
                                            categories: {
                                                              for: { in: 'Category' },
                                                                          dataReductionAlgorithm: { top: {} }
                                                                        },
                                                             values: {
                                                           select: [{ bind: { to: 'Message' } }]
                                                                },
                                              }
                                  }],

 

How can I achieve this?

Thank you.


Viewing all articles
Browse latest Browse all 48104

Trending Articles



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