#17625 closed defect (invalid)
programmatic dojox/mobile/ScrollablePane does not scroll
Reported by: | Rophy Tsai | Owned by: | Adrian Vasiliu |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | DojoX Mobile | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
please check the attached example, which is_ScrollablePane.html modified to be programmatic, the content does show up but is not scrollable.
Attachments (1)
Change History (8)
Changed 7 years ago by
Attachment: | test_ScrollablePane-Scripted.html added |
---|
comment:2 Changed 7 years ago by
Summary: | programmatic dojox.mobile.Scrollable does not scroll → programmatic dojox/mobile/ScrollablePane does not scroll |
---|
comment:3 Changed 7 years ago by
After creating the widget programatically, you need to call its startup() method. Just adding pane.startup(); after var pane = new ScrollablePane?(...); makes your test case work fine. Hence I'm closing the ticket.
comment:4 Changed 7 years ago by
Owner: | set to Adrian Vasiliu |
---|---|
Status: | new → assigned |
comment:5 Changed 7 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
comment:6 Changed 7 years ago by
Note also that your line dojo.ready(function() { should be: ready(function() {
comment:7 Changed 7 years ago by
Thank you very much. It would be very helpful if these are documented as programmatic example in http://dojotoolkit.org/reference-guide/1.9/dojox/mobile/ScrollablePane.html
Note: See
TracTickets for help on using
tickets.
example programmatic ScrollablePane?