jQWidgets Forums
jQuery UI Widgets › Forums › Angular › Angular 6 jqxScheduler create custom datafields in edit dialog
Tagged: activate, mcafee, mcafee activation, mcafee product, mcafee.com/activate, mcafeecomactivate, www.mcafee.com/activate
This topic contains 18 replies, has 3 voices, and was last updated by Martin 5 years, 6 months ago.
-
Author
-
Hello,
As the title says I am trying to add a new field in the edit dialog.
I am trying to add a new select box but can’t seem to figure out how.
Any ideas?
Hello Ouss,
I would suggest you to look at the following Example.
It modifies an existing field that you do not use. You can change its label html and input widget.You can also look at this Example for customizing the Scheduler’s Edit Dialog.
Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/Hello,
Is it possible to add an entirely new field instead of modifying an existing field?
Regards,
Ouss
Hello Ouss,
Yes, it is possible.
Here is an Example.Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/I´m getting the following error when i add a new field.
‘jqxComboBox’ does not exist on type ‘JQuery<HTMLElement>’. How can I resolve it?The erro above occurrs at line $(“#behandlung1”).jqxComboBox({});
Hello lucoe,
This is a Typescript error. You could cast the element to any: (<any>$(“#behandlung1”)).jqxComboBox({});
Or you could try to use
jqwidgets.createInstance
method. Here is an Example.Best Regards,
MartinjQWidgets Team
https://www.jqwidgets.com/Yes!!
Thanks, Martin!How to get the value of a added field? I have included my new field in source.dataFields, but its value is returned as null.
It is returned null in event.args.appointment.
Hello lucoe,
Please, take a look at whether the following Example would fit you needs.
Best Regards,
MartinjQWidgets Team
https://www.jqwidgets.com/Thank you, Martin!
Your answer was very helpful.Hi!
How to set and fire the event onChecked of a jqxCheckBox created by jqwidgets.createinstance?November 22, 2019 at 12:54 pm Angular 6 jqxScheduler create custom datafields in edit dialog #107423Hello lucoe,
You could use
addEventHandler
for attaching achecked
event to the created element.
Please, check the following Example.Best Regards,
MartinjQWidgets Team
https://www.jqwidgets.com/Thank you very much!
I have another question for you.
How can I use another dialog instead of the dialog that comes with jqxScheduler?Thanks in advance.
-
AuthorPosts
You must be logged in to reply to this topic.