I want to set background color of custom context menu . Screen shot is attached , currently it inherit handson table’s css. is there any way to set background color of custom context menu?
Officially we do not allow to change the background of the option. But I have found that
.htContextMenu table tbody tr td.current,
.htContextMenu table tbody tr td
is responsible for background
Thanks for reply Aleksandra, However i am using alternate color style for handsontable using below CSS
.ht_master tr:nth-of-type(even) > td {
background-color: hsl(199, 100%, 95%);
}
it is inherited to context menu . So my context menu alternate row style change grey to blue. I want to set context menu back-ground to grey and text in black
Hi @viral.mehta
did you manage to find a way to style it the way you wanted it to look? I can help you if you’re still seeking the best settings.
No Aleksandra,
Still i am not able to set background color as it is override by
.ht_master tr:nth-of-type(even) > td {
background-color: hsl(199, 100%, 95%);
}
Please send a demo with the recent progress.
do you have any updates on the issue?