jQWidgets Forums
Forum Replies Created
-
Author
-
Hi.
Problem is you use $(“.jqx-scheduler-month-cell:first”).height() in _renderMonthAppointments, but with Polymer, the content of the Web Component is in a shadow root; thus, not visible to the document. You should specify a root to your jquery selector ($(“.jqx-scheduler-month-cell:first”, this.content).height()).
In fact, you should do that for any jquery selector in any widget.
Thanks.
Ludovic Dubois.
No error message.
NaNpx is for the top property of the div element representing my appointment.
<div data-key="1" data-resourceid="Programmation" class="jqx-scheduler-appointment jqx-rc-all" style="position:absolute; z-index: 399; left: 136px; top: NaNpx; width: 265px; line-height: 18px; height: 18px; border-color:#01A1DD; color:White; background:rgba(1, 161, 221, 0.7);" title="12 AM - 11:59 Python prog Formation 1"><div style="white-space:nowrap;" class="jqx-scheduler-appointment-content"><div class="jqx-scheduler-appointment-inner-content">Python prog, Formation 1</div></div><div class="jqx-scheduler-appointment-resize-indicator jqx-scheduler-appointment-left-resize-indicator"></div><div class="jqx-scheduler-appointment-resize-indicator jqx-scheduler-appointment-right-resize-indicator"></div></div>
Thanks.
Ludovic.
HI.
In monthView, I can see that the computed top of the items is NaNpx!
Any help would be welcome.
Regards,
Ludovic.
I just removed resources initialization (keeping setting source only) and it works…
Ludovic.
HI Peter.
If I do that, I have to write everything on one line with appropriate br in source view only! It’s not so user-friendly, especially when coming back for changes…
I expected to write my pre and then switch back to normal view to type content of the pre the usual way. -
AuthorPosts