Declined
Last Updated: 10 Aug 2015 08:40 by ADMIN
Philip
Created on: 18 Jul 2015 11:39
Category: Spreadsheet
Type: Feature Request
0
Hide/Disable Selection Capabilities for RadSpreadsheet
Can we have the ability to hide the cell selector rectangle in the RadSpreadsheet? If we had this, along with the current existing functionality we would have spreadsheet capabilities inside what looks like an 'empty' page. It would be good for reporting purposes where the developer can make full use of the spreadsheet's functions but completely hide the 'spreadsheet look-and-feel' from the user.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
ADMIN
Petya
Posted on: 23 Jul 2015 15:59
Hello Philip,

Disabling the visual representation of the selection is already possible by removing the UI layer responsible for it. For this purpose, you'll need to create a new layers builder and assign it to RadSpreadsheet.
    this.radSpreadsheet.WorksheetUILayersBuilder = new CustomUILayerBuilder();

    public class CustomUILayerBuilder : WorksheetUILayersBuilder
    {
        public override void BuildUILayers(UILayerStack<WorksheetUILayerBase> uiLayers)
        {
            base.BuildUILayers(uiLayers);
            uiLayers.Remove(WorksheetPredefinedUILayers.Selection);
        }
    }

I'm not entirely sure I understand your scenario, however. If this doesn't fit your needs, could you attach some images showing what you are trying to achieve?
ADMIN
Petya
Posted on: 10 Aug 2015 08:40
Hi Philip,

We haven't heard back from you, so I'm going to decline this item. Hopefully, my suggestion helped you achieve the desired result. If this is not the case, please provide us with the requested images showing the expected look of the control.