Change default renderer to customRenderer

Tags: #<Tag:0x00007f8b1dbee290>

Hi team,

I am using customRenderer for Cell formatting based on dynamic data from HTTP Request.
In the example, customRenderer rendererCommon working well with other 2 columns where Type is not defined, but it is not working for a column type="dropdown"

Below is the code snippet and handsontable output:

image

Can anyone please let me know if I am doing anything wrong and what would be the appropriate approach to handle this scenario?

Hi @sam

I’ve checked with a simple example and it works also for drodpown type column:

https://jsfiddle.net/aszymanski/c3dzfuhe/

Can you please modify this example to reproduce your issue?

Hi @adrian.szymanski,

I was using the same logic but it was not working for me in case of dropdown type as column.

Now I added the same logic in Cells options in settings, and now it is working for me.

Thanks for the help.

Hi @sam

I’m glad you’ve found a working solution.