jQWidgets Forums
Forum Replies Created
-
Author
-
June 11, 2018 at 11:41 am in reply to: Invalid Popover toggler: "[object Object]" Invalid Popover toggler: "[object Object]" #100552
Hello,
your solution and the standard squared button from animate cc let me open the popover. a custom button brings me the error. maybe i can customize the layout from the starndard button from animate, so thx for your help.
June 11, 2018 at 10:21 am in reply to: Invalid Popover toggler: "[object Object]" Invalid Popover toggler: "[object Object]" #100547sorry, for double post but, i cant edit.
i copied your solution into my script and get the invalid popover toggler error again.
i think it is not possible to use this widget with the animate cc. The listbox is funktional but the popover is strange to use.
June 11, 2018 at 7:47 am in reply to: Invalid Popover toggler: "[object Object]" Invalid Popover toggler: "[object Object]" #100540Hello Martin,
i tried your solution, and now i get a
Uncaught Error: Invalid Selector – #btnTodesfallHinweisEins! Please, check whether the used ID or CSS Class name is correct.
(i changed the id from the custom button)May 30, 2018 at 7:28 am in reply to: Invalid Popover toggler: "[object Object]" Invalid Popover toggler: "[object Object]" #100367Hello,
first, i create a div like
window.Popover_Todesfall_Hinweis_1_Element = document.createElement(‘div’); //create a Div
Popover_Todesfall_Hinweis_1_Element.id = ‘jqxPopoverTodesfallHinweis1’; //set its ID
canvas.parentNode.appendChild(Popover_Todesfall_Hinweis_1_Element);second, i created a custom button with the id “btnTodesfallHinweisEins”
this button is in a movieclip, because i can not create a div in a movieclip.
Only over the mvc the div is useable.and third, added a eventlistener for the custom button
exportRoot.mvcTodesfallProgramm.btnTodesfallHinweisEins.addEventListener(“click”, onClickHinweis.bind(this));
function onClickHinweis(e) {
$(“#jqxPopoverTodesfallHinweis1”).jqxPopover({
offset: {
left: -50,
top: 0
},
theme: ‘mobile’,
arrowOffsetValue: 50,
title: “Test”,
showCloseButton: true,
selector: e.currentTarget.name,
});
}hope you can help me.
greetz
Michel
-
AuthorPosts