Opened 10 years ago
Closed 10 years ago
#12175 closed defect (fixed)
[patch]dojox.grid.treegrid not wokring in multi verion dojo
Reported by: | charlie_li2005 | Owned by: | evan |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Grid | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
After setting the djconfig at the top to custom the namespace of dojo, the error happen "expando is not defined".
After work on it, the issue happen as at following line in _treeView.js
expando = dojo.parser.parse(n.parentNode)[0];
Change it to following:
var args ={ scope : "dojo" }; expando = dojo.parser.parse(n.parentNode,args)[0];
working pretty good, I think the same issue exist for other components which use the method "dojo.parser.parse". maybe need an generic solution on this.
Attachments (1)
Change History (8)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Component: | DojoX Data → DojoX Grid |
---|---|
Owner: | changed from Jared Jurkiewicz to bryanforbes |
comment:3 Changed 10 years ago by
Please notice: I also use v1.6's parser to make above setting works.
comment:4 Changed 10 years ago by
Owner: | changed from bryanforbes to Bryan Forbes |
---|
Changed 10 years ago by
Attachment: | 12175.patch added |
---|
By using 'dojo._scopeName'+'Type' instead of 'dojoType' in template
comment:5 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|---|
Summary: | dojox.grid.treegrid not wokring in multi verion dojo → [patch]dojox.grid.treegrid not wokring in multi verion dojo |
comment:6 Changed 10 years ago by
Owner: | changed from Bryan Forbes to evan |
---|---|
Priority: | normal → high |
comment:7 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
the module should be dojox.grid, sorry about that.