jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput Events problem

This topic contains 1 reply, has 2 voices, and was last updated by  support 11 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Events problem #23296

    jondecker76
    Member

    Hello

    I’m working on a fairly large scale project where I am making controls for my charts which allow data to be selected by date ranges, along with previous and next pages, zooming, etc.

    The problem is, that the event system has no way of conveying the source of the event, which I need for my application.

    For example, I have code which changes the dates in a datetimeinput (on a page change or zoom for example). I don’t want these changes to fire the change/valuechanged, etc events. I only want these events to fire if the change is driven by a direct change to the widget by the user (and not when the setDate method is used).

    Is there any way to tell whether the fired event is from actual user interaction with the widget vs. a change that was made programatically?

    thanks

    Events problem #23304

    support
    Participant

    Hi jondecker76,

    Unfortunately it is not possible because every event is fired on any change no matter if it is from API or from UI. If you have any further question, please do not hesitate to contact us.

    Best Wishes,
    Mariya

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.