ActiveRow in SingleSelect Mode

Posted by: don on 25 March 2019, 12:28 am EST

  • Posted 25 March 2019, 12:28 am EST

    Is there a way to set the selection to no active row. Here is my scenario:
    1. I have spread set to OperationMode = SingleSelect
    2. I load spread using DataSource and load my object collection
    3. If I ActiveRow, its set to the first row, row 0

    Is there way to tell if the row is actually selected or not. When its initially loaded (dataSource) I do not want any row selected. Once the user selects a row, then the logic will take over.
  • Marked as Answer

    Replied 26 March 2019, 3:43 pm EST


    You can initially set OperationMode to ReadOnly (in which there is no active cell). Then in SelectionChanged event you can set it to SingleSelect.

    Please refer to attached sample for an example.

Need extra support?

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

Learn More

Forum Channels