Event not firing when check box is changed

Posted by: tashdash on 8 September 2017, 1:03 pm EST

  • Posted 8 September 2017, 1:03 pm EST

    I have a simple list of items in a spreadsheet, with description, price and a check box.

    I am attempting to have it run a routine, CalculateTotals, to sum up the prices of selected items each time the user clicks on a rows check mark to pick it.

    I can't get any event to register when the check mark is checked on and off.  Every event I have tried does not calculate the sum unless I leave the cell by clicking on another cell.

    What am I missing here?  What event fires (and please tell me there is one) when a check box is checked on or off?




  • Replied 8 September 2017, 1:03 pm EST

    The ButtonClicked event should fire when you click on a checkbox.
  • Replied 8 September 2017, 1:03 pm EST


    Bob is correct on the event to use. What you are seeing is the Value is not updating from the editor to the DataModel until you exit editmode (click to another cell). You can programatically get the value from the checkbox by casting the EditingControl as a FarPoint.Win.FpCheckbox and querying it's value while still in EditMode (from ButtonClicked event). Or you can programatically take the cell out of editmode before querying the Value of the cell.

Need extra support?

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

Learn More

Forum Channels