jQuery UI Widgets Forums Scheduler Dropdown Subject field

This topic contains 8 replies, has 2 voices, and was last updated by  ncds 8 years, 7 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • Dropdown Subject field #81969

    ncds
    Participant

    Hi. Is it possible to have a subject field that is a drop down list? I’ve tried creating my own dropdown field but I need the same functionalities as the Subject field.

    Thank you.

    Dropdown Subject field #81972

    Peter Stoev
    Keymaster

    Hi ncds,

    You will have to customize the Scheduler’s Edit Dialog as shown here: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxscheduler/scheduler-edit-dialog.htm?arctic

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Dropdown Subject field #81973

    ncds
    Participant

    I saw the example and I have used the example for renaming the labels, hiding/showing the containers, etc. Also, I have created my own drop down field but I can’t make it work like that of the subject field. I need its functionalities because I only have fixed options for the subject of the appointments. I just wanted to know what I need to do in order to have that same functionalities, or if it is not possible. Because as I have seen from the examples, the subject field is of the type jqxinput.

    Thank you.

    Dropdown Subject field #81978

    Peter Stoev
    Keymaster

    Hi ncds,

    You should create jqxDropDownList as I understand you want to use such widget. Then you have to replace the built-in Subject Input with your widget. After that you will have to synchronize the dialog’s data with the appointment’s data when users click Save i.e you have to bind to the Save button or another option is to hide the Subject input and fill it with data from your jqxDropDownList.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Dropdown Subject field #81999

    ncds
    Participant

    I have already created a jqxDropDownList and I’ve hidden the Subject input and replaced it with the dropdownlist. But I wanted to know how will I synchronize the data from the dropdownlist for the appointment to read the item selected as its subject.

    Thank you.

    Dropdown Subject field #82002

    Peter Stoev
    Keymaster

    Hi ncds,

    It’s better to synchronize the DropDownList with the Scheduler’s subject Input field, because the other synchronization is by default.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Dropdown Subject field #82004

    ncds
    Participant

    Do you have examples for that? Or guide of some sort? I’m finding it hard to understand the synchronization that you’ve been telling me about.

    Thank you and sorry for the bother.

    Dropdown Subject field #82007

    Peter Stoev
    Keymaster

    Hi ncds,

    Yes, we have documentation and examples about using jqxDropDownList and we also have documentation and examples for jqxInput and how to set value. This is the synchronization which you have to do. Bind to your custom jqxDropDownList’s events and put the selected value in jqxInput.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Dropdown Subject field #82031

    ncds
    Participant

    Thank you. It worked.

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

You must be logged in to reply to this topic.