Is there a way to hide the possibility of adding and removing sheets?

4 posts, 0 answers
  1. Chanan Zass
    Chanan Zass avatar
    63 posts
    Member since:
    Aug 2012

    Posted 13 Oct 2018 Link to this post

    We've been asked by our client to hide the workbook tabstrip buttons for adding and removing sheets.

    We've searched all over but couldn't find a way to hide these buttons (the "+" and "x" buttons).

    Any help would be most appreciated.

     

  2. Vessy
    Admin
    Vessy avatar
    2091 posts

    Posted 17 Oct 2018 Link to this post

    Hi Chanan,

    You can hide the "Add new" and remove buttons from the sheets tabstrip of RadSpreadsheet with a similar CSS style:
    .RadSpreadsheet .t-spreadsheet-sheets-bar-add,
    .RadSpreadsheet .t-spreadsheet-sheets-remove {
        display: none;
    }

    Regards,
    Vessy
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Chanan Zass
    Chanan Zass avatar
    63 posts
    Member since:
    Aug 2012

    Posted 17 Oct 2018 in reply to Vessy Link to this post

    Thanks.

    I got impatient and asked support. Peter Milchev solved this issue for us with a similar, not exactly the same, suggestion (which works). Sorry for not posting it here sooner:

    <style>
        .RadSpreadsheet .rssSheetsbar.k-header .t-spreadsheet-sheets-bar-add.t-button,
        .RadSpreadsheet .t-link.t-spreadsheet-sheets-remove{
            display:none;
        }
    </style>
  4. Vessy
    Admin
    Vessy avatar
    2091 posts

    Posted 18 Oct 2018 Link to this post

    Hi,

    Thank you for the update, Chanan - I am glad everything is working as desired now. The support tickets are answered with a higher priority, so I will advise that you use the private support channel for any urgent issue you have in future.

    Kind regards,
    Vessy
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top