Unable to apply custom border dynamically

Tags: #<Tag:0x00007efc72fa7920>

I am unable to apply the custom border dynamically on handsontable grid using below option,

hot.updateSettings({customBorders: customBorders});

Please check the fiddle http://jsfiddle.net/4nj1r12a/

Is there anything i am doing wrong. Thanks for your help.

Hi @vish
Unfortunately it is a known bug. It was reported some time ago here: https://github.com/handsontable/handsontable/issues/2002

This action to be fixed needs a UpdateSettings refactor though it is not planned for Q1/2017.

would you recommend any workaround for this?

The only way to update settings is by the method that does not work. You can load new settings after initialization, maybe here’s a workaround. I will have to check it.