Click cell and type number as Solution/to add to Candidates, or twice to delete.
Delete/Backspace/button X to clear cell.
Numbers can not repeat in Row, Column, Box and you can customize below.
customFunc=(grid,r,c,val,vals)=>{
} Note: subtle differences with Solver version
customDisplay=(grid,r,c,val,vals)=>{