Handsontable example

HTML

<script src="https://cdn.jsdelivr.net/npm/handsontable@12.1/dist/handsontable.full.min.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable@12.1/dist/handsontable.full.min.css" /> 
<script src="https://handsontable.com/docs/8.3.2/components/numbro/dist/languages.min.js"></script>

<div id="example1" class="hot "></div>

CSS

.handsontable .myThirdCol {
  color: red !important;
  font-weight: bold;
}

JavaScript

const container = document.querySelector('#example1');

const hot = new Handsontable(container, {
  data: Handsontable.helper.createSpreadsheetData(10, 5),
  colHeaders: ['Anna', 'Betty', 'Carol', 'David', 'Evan'],
  manualColumnMove: true,
  height: 'auto',
  licenseKey: 'non-commercial-and-evaluation',
  afterGetColHeader: function(col, TH){
  	if(col === this.toVisualColumn(3)){
    	TH.className = 'myThirdCol'
    }
  }
});