Make a striped table

Please, how do I make a striped table with alternating colors? I used a className and added the style to my css file, but the style is not being applied to the table.

Hi @magneticdigital1

Do you mean something like this

if so you can use the modulo to attach a className via cells method. Here’s a demo Handsontable example - JSFiddle - Code Playground

Let me know if that meets your requirements.

yes, exactly. this works.

Also, I would like to remove the grey lines around the cells.

Removing the borders of cells requires a small change in the default CSS settings of the table. You can do achieve it like this Handsontable example - JSFiddle - Code Playground

Result