I created a jqxForm with some jqxDropDownList controls, I’m trying to access the control using getComponentByName method but the returned object is undefined. Do you have practical examples with getComponentByName? I would like to access the controls to make sure I can play with them within the form (you know, add some custom behavior with jQuery events).
BTW, in CodePen I’m able to see the Form object in console (F12), but in JSEditor I’m getting a “Failed to execute ‘postMessage’ on ‘Window’: HTMLDivElement object could not be cloned” which is not really useful.
I’m using https://jqwidgets.com/public/jqwidgets/jqx-all.js (which has jQWidgets v10.1.5), so I’m wondering if the getComponentByName method has been properly implemented in that version.
Thank you a lot!
- This topic was modified 2 weeks, 6 days ago by Luis.
Thanks a lot Hristo, it’s working fine now.
Could you please update the documentation? Because Name is not an option inside Template, what currently says is:
bind – Sets a template’s member Name.
Thank you for this feedback.
I will create a work item for this.
Could you please also create a work item to add examples to the documentation? Because currently it has no live examples (hyperlinks).
We spent some time with my colleague trying to make hideComponent method to work, due to lack of examples, and finally we realized it’s not working properly (I created another post about that https://www.jqwidgets.com/community/topic/how-to-use-hidecomponent-in-jqxform/)
BTW, thanks for the jqxForm control, it’s very handy to create forms on the fly and it’s jqx controls compatible. I have a suggestion, if you can implement a group property, so the idea is to hide/show them all at once by group name (I was thinking of replicating the behavior when you show or hide a DIV with multiple controls inside depending on some actions).
You must be logged in to reply to this topic.