This topic contains 6 replies, has 3 voices, and was last updated by Gratorama_me 12 months ago.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Editors › Editor › getting "event" information in the createCommand jqxDropDownList
This topic contains 6 replies, has 3 voices, and was last updated by Gratorama_me 12 months ago.
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.args
and the event.currentTarget
within 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,
Todor
jQWidgets Team
https://www.jqwidgets.com
a few improvements:
http://jsfiddle.net/edwardsmarkf/oj2uqx7m/251/
again, any input or suggestions would be appreciated.
oops
You must be logged in to reply to this topic.