Change border of active cell

Posted by: averma on 21 August 2026, 12:50 am EST

  • Posted 21 August 2026, 12:50 am EST

    What are the classes responsible for changing the border of active cell while typing ?

    We want to change the color of border of cell while typing to #5F2BFF and then revert to original when we move away from that cell.

  • Posted 21 August 2026, 1:16 am EST - Updated 21 August 2026, 1:21 am EST

    Currently i’m able to change the color but default blue border should not be there, my border is coming below or on top of it.

    const onStart = () => {

    const s = spread.getActiveSheet();

    s.options.selectionBorderColor = ‘transparent’;

    s.repaint();

    requestAnimationFrame(() => {

    const editorEl = document.querySelector(‘[gcuielement=“gcEditingInput”]’) as HTMLElement | null;

    if (editorEl) {

    editorEl.style.setProperty(‘outline’, ‘none’, ‘important’);

    editorEl.style.setProperty(‘border-style’, ‘solid’, ‘important’);

    editorEl.style.setProperty(‘border-width’, ‘2px’, ‘important’);

    editorEl.style.setProperty(‘border-color’, ‘#5F2BFF’, ‘important’);

    }

    });

    };

  • Posted 21 August 2026, 7:41 am EST

    Hi,

    We checked this behavior, and it appears that it is currently not supported, nor have we found a way to achieve it. We are confirming this with our development team. Once we receive confirmation, we will provide you with an update.

    The internal tracking ID for this issue is SJS-35709.

    Regards,

    Priyam

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels