jQuery UI Widgets › Forums › General Discussions › Editors › Editor › getting "event" information in the createCommand jqxDropDownList
This topic contains 6 replies, has 3 voices, and was last updated by Gratorama_me 1 year, 10 months ago.
-
Author
-
hello –
the createCommand documentation demonstrates an excellent example of using a dropDown in the editor.
is there any way to get the same information from an .
on("select"callback similar what we see here?http://jsfiddle.net/jqwidgets/3UJBg/
i am trying to obtain the information contained in
event.argsand theevent.currentTargetwithin the editor.in other words, i am trying to get similar functionality of the jqxDropDownList while using it as a custom createCommand in the editor.
thank you.
adding this seems to work fine:
$('.jqx-listbox-container').select( (event) => { console.log(event.args.originalEvent.pageX); console.log(event.currentTarget.offsetWidth); })this has been a bit difficult, so i wanted to share my results, and hopefully get some further input.
my goal has been to have some way to select phonetic symbols, but not have the dropDown go too far down on the page. so instead of ONE phonetic symbol per line, i wanted to have multiple phonetic symbols on each line:
http://jsfiddle.net/edwardsmarkf/oj2uqx7m/148/
are there any other suggestions?
Hello edwardsmarkf,
As far as I can see the last version that you have sent is working. Do you need any further assistance?
Best Regards,
TodorjQWidgets Team
https://www.jqwidgets.coma few improvements:
http://jsfiddle.net/edwardsmarkf/oj2uqx7m/251/
again, any input or suggestions would be appreciated.
February 20, 2024 at 8:18 pm getting "event" information in the createCommand jqxDropDownList #134344oops
-
AuthorPosts
You must be logged in to reply to this topic.