Dialog Template Event

Posted by: dung.nguyen27 on 2 September 2026, 11:59 pm EST

  • Posted 2 September 2026, 11:59 pm EST

    Hello,

    I have encountered an issue that I have not yet been able to resolve.

    I am using

    designer-components
    for my application. Within a custom dialog—initialized using
    GC.Spread.Sheets.Designer.registerTemplate()
    —there are various text editors and comboboxes. I would like to update the value of another input field based on the selection made in a combobox.

  • Posted 3 September 2026, 7:45 am EST

    Hi Dung,

    Thank you for reaching out.

    We have investigated this behavior and, based on the currently available public API, we could not find a direct way to update the value of another input field dynamically when the selection changes in a ComboBox within a custom Designer dialog.

    We are discussing this requirement with our development team to determine the appropriate approach for implementing this functionality. We will get back to you as soon as we have any further information from them.

    Internal Tracking ID: SJS-35789

    Thanks for your patience and understanding in the meantime.

    Best regards,

    Chirag

  • Posted 4 September 2026, 6:23 am EST - Updated 4 September 2026, 6:29 am EST

    Hi Dung,

    Thank you for your patience while we discussed this matter with the relevant development team.

    As per the developers, Designer Template does not expose events or hooks for executing custom logic dynamically when a control value changes.

    For scenarios that require this type of dynamic interaction, the recommended approach is to encapsulate the related logic and controls within a custom component and then use that component within the custom Designer Template.

    We have prepared a sample demonstrating this approach, where the value of the text field is updated based on the selected value in the ComboBox. Please refer to the sample DependentDialogFields for more details.

    Please let us know if you encounter any further issues or require additional assistance.

    Best regards,

    Chirag

    References:

    1. SpreadJS Designer Customizations | Add a custom component
    2. SpreadJS Designer | AtomicComponentBase API

    Working:

Need extra support?

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

Learn More

Forum Channels