Set focus to the first cell in the spreadJS by default on page load

Posted by: kriti-kumari11 on 8 September 2017, 10:01 am EST

    • Post Options:
    • Link

    Posted 8 September 2017, 10:01 am EST

    Hi,

    I want to set focus to the first cell in the spreadJs sheet.I tried below code :

    
    activeSheet.setActiveCell(0, 0);
    activeSheet.startEdit();
    
    

    By using this above code the focus is set to the first cell of the sheet and first cell converted to edit mode.Due to which all the table data is pasted in the first cell only.

    Want to focus on the first cell only.

    Thanks,

    Kriti

  • Posted 8 September 2017, 10:01 am EST

    My issue is resolved.

  • Posted 8 September 2017, 10:01 am EST

    Hello,

    We are glad to know that your issue is resolved.

    Thanks,

    Reeva

  • Posted 1 February 2018, 9:14 am EST

    hi,

    can you explain how you resolved your issue.

    if you give any code snippet it would be helpful.

    thanks

  • Posted 6 February 2018, 8:23 am EST

    hi,

    Could you help bcz im also facing same issue.

    can you explain how you resolved your issue.

    if you give any code snippet it would be helpful.

    thanks

Need extra support?

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

Learn More

Forum Channels