Click event

Posted by: fsegui on 17 March 2021, 3:54 am EST

  • Posted 17 March 2021, 3:54 am EST


    With former fpSpread (OCX version), when a user was clicking on a cell, the cell was highlighted before entering the event.
    With the .Net version, that's not the case anymore. I had to change from Click to CellClick event because I need to get row/column of the cell click and then perform some actions.
    As the actions take time, the cell has to be shown selected.

    How can I highlight the selected cell before the clickevent?
  • Marked as Answer

    Replied 18 March 2021, 9:01 pm EST


    You can achieve this by performing your actions on a separate thread. This occurs as you are doing actions in CellClick which is fired before the active cell is changed, by performing the actions on a separate thread, you will leave the main free for further actions like changing of the active cell. Please refer to the sample attached which demonstrates the same.

  • Replied 18 March 2021, 10:12 pm EST


    Thanks, works fine with the delegate
Need extra support?

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

Learn More

Forum Channels