Some cell types do not fire EditEnding and EditEnded

Posted by: n.serrette on 17 September 2024, 4:06 am EST

    • Post Options:
    • Link

    Posted 17 September 2024, 4:06 am EST

    Hi,

    Some CellType like FileUpload, CheckBox, RadioButtonList do note fire EditEnding and EditEnded Events.

    But they are fired by the other types like Base and Combobox.

    It is disturbing to not have a consistent behaviour, I could not find any mention of this difference in the documentation.

    Could this be fixed?

    thanks

  • Posted 18 September 2024, 5:51 am EST

    Hi,

    The mentioned cell type does not trigger the EditEnding and EditEnded events because it never enters edit mode, which is the expected behavior by design. If you need an event to detect changes in this cell type, you can use the CellChanged event, which fires whenever a change occurs in these cell types.

    spread.bind(GC.Spread.Sheets.Events.CellChanged, function (e, info) {
        console.log(info)
    });

    Reference:

    https://developer.mescius.com/spreadjs/api/classes/GC.Spread.Sheets.Events#cellchanged

    Regards,

    Priyam

  • Posted 24 September 2024, 3:27 am EST

    Hi,

    Thanks for your reply.

    Regards,

Need extra support?

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

Learn More

Forum Channels