We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to programatically select a cell on the heatmap

I don't mean on cellClick event, I mean when something else externally on the page happens, I want it to call the heatmap to select a specific cell.


Thanks, and also, why is it hard to find information on how to do simple things like this in the documentation? Am I looking in the wrong places when I look through this stuff?

https://ej2.syncfusion.com/javascript/documentation/heatmap-chart/ej1-api-migration/
https://ej2.syncfusion.com/javascript/documentation/api/heatmap/selectedCellDetails/


3 Replies

IR Indumathi Ravi Syncfusion Team April 25, 2023 12:18 PM UTC

Hi Zachary,


We do not support programmatic cell selection in the HeatMap component. Instead, we only allow cell selection via UI interaction when the "allowSelection" API is enabled.


Meanwhile, in the sample below, the HeatMap component is generated for each Pivot Table component's cell selection. Does this meet your requirements, or do you simply want to select cells in the existing HeatMap component based on any external action on the web page?

https://ej2.syncfusion.com/javascript/demos/#/bootstrap5/pivot-table/external-binding.html



ZA Zachary April 25, 2023 02:24 PM UTC

I have a Syncfusion Grid module on the page, and depending on which row in the grid is clicked, I need a certain cell in the heatmap to get selected to reflect it. It should give the appearance that they are linked together.



MS Mukilan Sethuraman Syncfusion Team April 26, 2023 04:07 PM UTC

Hi Zachary,


Thank you for the clarification. We have considered your requirement as a feature in the HeatMap component and added it to our features request list.  However, we will include this implementation in any of our upcoming release. Meanwhile, please find the feedback link below to keep track of this feature.


https://www.syncfusion.com/feedback/43195


Loader.
Up arrow icon