Hiding selection rectangle

Posted by: anton-timofeev on 8 September 2017, 2:35 pm EST

  • Posted 8 September 2017, 2:35 pm EST

    Hi,

    I'm using Spread for Windows Forms 5.

    Is it possible
    to completely hide the black selection rectangle so no cell is selected?
    In my scenario I hide the grid lines, the first cell gets selected
    automatically and this looks a little ugly for a report.

     

    Thanks,

    Anton
  • Replied 8 September 2017, 2:35 pm EST

    If the Spread has focus no, the active cell will be shown however if the Spread does not have focus and you have set the RetainSelectionBlock property = false then it should not show the selection.
  • Replied 8 September 2017, 2:35 pm EST

    alternatively if you do not need to interact with the grid at all and are simply viewing a report operationmode ReadOnly may be a better way to go.
  • Replied 8 September 2017, 2:35 pm EST

    Thanks for the suggestions. 'RetainSelectionBlock = false' helps and it might be enough.
Need extra support?

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

Learn More

Forum Channels