Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #104446
    Anh Hoang

    I want to add a confirmation box before deleting, using Reactjs popover but can’t because smart scheduler is not a HTMLElement. Could you give some advise?





    The first thing to do is get the delete button in the ‘editDialogOpen’ and prevent the default behaviour.
    This way the event will not be deleted upon a click.
    It is important to add the click event of the delete button with a named function because if you add an anonymous function the handler will be fired as many times as you open the dialog.
    After you have prevented the default behaviour you can open the desired confirmation modal and manipulate the scheduler with its events
    Here is an example of preventing the default behaviour in vanilla JS.
    It will be almost the same in React.js

    I hope this helps, if you have any further questions, do not hesitate to contact us!

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team

    Anh Hoang

    hello friend,

    thanks for your answer, but still have problem when WindowcustomizationFunction, i want to don’t show the target, already set hidden=true, but still have a header like this, how to completely delete it


    Hi Ann,

    Did you look at React Scheduler Custom-window | Scheduler | Smart UI for ReactJS ( It shows how to customize the Scheduler’s window.



Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.