Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #107456
    valve1023@gmail.com
    Participant

    Hello,

    I tested the example at the URL https://www.htmlelements.com/demos/grid/editing-date-editor/

    and noticed that the onInit event is not functioning.

    Why is the onInit event not being triggered?

    Thank you.

    #107457
    ivanpeevski
    Participant

    Hi,

    I just tested the onInit property in the example here – codepen

    And it is working correctly – It is fired when the editing begins for the first time.

    If you require a callback, which is fired every time editing begins, you should use “onRender”

    Best Regards,
    Ivan Peevski
    Smart UI Team
    https://www.htmlelements.com/

     

    #107463
    valve1023@gmail.com
    Participant

    Hello.

    I figured out why the onInit event is not triggered.

    The Smart UI version I tested is 15.2.8, while the example on CodePen is using version v14.1.2, which is a different version.

    When I tested it with version 14.1.2, the onInit and onRender events were triggered, but when I tested it with version 15.2.8, the events did not trigger.

    Is this phenomenon a bug, or is there another reason?

     

    #107465

    Hi,

    Here is an example with the latest version which is 15.2.10 and the events are firing as you can see:
    https://easyupload.io/r7xvph

    Download the project. Open it and install the dependencies with ‘npm install’
    The open the it an test

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

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