Opened 9 years ago
Closed 5 years ago
#15135 closed defect (worksforme)
No horizontal scrolling when define ScrollableView programmatically
Reported by: | mortelee | Owned by: | dante |
---|---|---|---|
Priority: | undecided | Milestone: | 1.11 |
Component: | DojoX Widgets | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Hi
Looking at example dojo/dojox/trunk/mobile/tests/test_ScrollableView-h.html, I tried to the same but than programmatically.
However when doing so the horizontal scrolling is not working.
I use the following version of dojo 1.7.2: Build started: Thu Feb 16 2012 12:00:51 GMT-0800 (PST) Build application version: 1.7.0dev (23930)
OS: Windows 7 Browser: Chrome 18.0.1025.142 m
Attachments (2)
Change History (4)
Changed 9 years ago by
Changed 9 years ago by
Attachment: | test2.html added |
---|
comment:1 Changed 9 years ago by
comment:2 Changed 5 years ago by
Milestone: | tbd → 1.11 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Either this is a documentation issue, or something has been fixed since then, as I'm able to create a ScrollableView? programmatically without issue.
Note: See
TracTickets for help on using
tickets.
Apparently my example in test2.js is not how scrollableviews should be made. However I don't see what could be wrong.
I got it working in an other way:
var html = '<div id="scrollPane2">'; html += "<table><tr><td>[some content]</td></tr></table>" html += '</div>'; $('body').append(html);
var scrollableView33 = new dojox.mobile.ScrollableView?({
}, "scrollPane2"); scrollableView33 .resize(); scrollableView33 .startup();
Maybe it is a good idea to add also examples for creating widgets programmatically?