Selected row highlighting

Hi all,
I need to highlight selected row.
As described in tutorials I use next settings

var hotSettings = {
data: columnValues,
colHeaders: columnHeaders,
currentRowClassName: ‘currentRow’,
** currentColClassName: ‘currentCol’,**
minSpareRows: 1,
contextMenu: true,
manualColumnResize: true,
manualRowResize: true,
autoRowSize: true,
}

and then
hot.selectCell(0,0);

But this doesn’t work at all.

Are there other options?

thanks in advance!

Hi @maryja.radziuk

Have you added any styling to currentRow class? The currentRow is only a string example of your own class. It is not defined in the handsontable.css file.

Please take a minute to check the following demo http://jsfiddle.net/foj8y4na/

Thank you @alexandra_budnik,
works really well!

Great :slight_smile: so I can close the issue