Icon in spread sheet name

Posted by: pchava on 16 December 2018, 7:51 pm EST

    • Post Options:
    • Link

    Posted 16 December 2018, 7:51 pm EST

    Hi,

    Is there a way we can add an icon in the spreadSheet name? Something like this:

    spread.sheet[0].name(“Test Name”);

  • Posted 17 December 2018, 11:55 pm EST

    Hello,

    There looks to be no direct way to set an icon in the SheetTab, I have submitted an enhancement request for this. The tracking id for this is 268481.

    This may get added in the future version of SpreadJS.

    Thanks,

    Deepak Sharma

  • Posted 18 December 2018, 5:43 pm EST

    Hello,

    Our development team would like to know more about your use case. Why do you need the icon in sheet name on Sheet tab, is it just for the UX design or is there any other business requirement?

    Thanks,

    Deepak Sharma

  • Posted 18 December 2018, 7:48 pm EST

    The requirement is to have close in a single click rather. A close icon at the end of the sheet name. And more over if the context menu is disabled (allowContextMenu = false), then I don’t think there is a way to close the tab.

    We do not need context menu, but we have multitabs. So if we are able to provide an icon in the sheet name, we will bind an event to this icon and use it to close the tab.

  • Posted 19 December 2018, 9:16 pm EST

    Hello,

    Thank you for providing the required information.

    But there is no option to close the sheet, you can only hide/unhide/delete/insert a sheet using the sheettab context menu.

    May I know how exactly you want to close the sheet tab?

    Thanks,

    Deepak Sharma

  • Posted 25 December 2018, 4:57 pm EST

    1. Context Menu on the tabs cannot be seen if we hide the context menu on the sheet. So we are unable to close the tab (delete).
    2. Also we need the close in a single click, rather than opening a context menu and then closing it.
  • Posted 26 December 2018, 6:37 pm EST

    Hello,

    Could you please provide a screen or an image describing what you want to achieve with an icon in the sheet tab?

    Thanks,

    Deepak Sharma

  • Posted 1 January 2019, 4:36 pm EST - Updated 3 October 2022, 2:00 am EST

    We wanted to show a close icon like this and delete tab when clicked on it.

  • Posted 3 January 2019, 8:23 pm EST

    Hello Pavan,

    In a SpreadSheet(SpreadJS or Excel) there is no option to close the sheet. You can only make a sheet active/inactive/hidden/visible.

    What do you want to achieve on click on this “x” (close) icon?

    Thanks,

    Deepak Sharma

  • Posted 3 January 2019, 9:25 pm EST

    We want to delete the sheet when clicked on the “x” close icon

  • Posted 6 January 2019, 5:17 pm EST

    Hello,

    I have forwarded your request to the development team. I will let you know as soon as I get an update on it.

    Thanks,

    Deepak Sharma

  • Posted 6 January 2019, 5:55 pm EST

    Hello,

    It has been accepted as an enhancement request for future version of SpreadJS.

    For now, using the context menu to hide/unhide sheets is the option for you.

    Thanks,

    Deepak Sharma

Need extra support?

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

Learn More

Forum Channels