Custom headers background in javascript

Hello,

I have multiple handsontable instances and i want to custom the background color dynamically but i don’t find any solution in javascript.

Anyone has a idea ?

Thanks you.

Hi @jsiali
You can use the cells() method, for example: http://jsfiddle.net/t5nqw0pk/

Hi @aleksandra_budnik,

Thanks you for your reply by you JSFiddle explain how to custom normal cell but i want to change the header background dynamically (not in a css).

You’re right, my bad.
So this example http://codepen.io/js-ziggle/pen/pjpNWZ?editors=0110 should be helpful. You can change the className whenever you want.

1 Like

Yes !!

Thanks you so much :slight_smile:

Have a nice day :kissing:

you’re welcome :slight_smile:

1 Like