jQuery UI Widgets › Forums › Scheduler › Dropdown Subject field
Tagged: javascript scheduler, jquery scheduler, jqwidgets scheduler, jqxscheduler subjectfield, scheduler, scheduling
This topic contains 8 replies, has 2 voices, and was last updated by ncds 8 years, 7 months ago.
-
AuthorDropdown Subject field Posts
-
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.
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 StoevjQWidgets Team
http://www.jqwidgets.comI 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.
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 StoevjQWidgets Team
http://www.jqwidgets.comI 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.
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 StoevjQWidgets Team
http://www.jqwidgets.comDo 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.
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 StoevjQWidgets Team
http://www.jqwidgets.comThank you. It worked.
-
AuthorPosts
You must be logged in to reply to this topic.