Opened 10 years ago
Closed 10 years ago
#12960 closed enhancement (wontfix)
No .set('content' content) for dijit.layout.BorderContainer?
Reported by: | Florian | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Hi,
when trying to change the content of a dijit.layout.BorderContainer with some xhrGet()'ed html-content I realized there is no .set('content', content)-method for BorderContainer. So my current workaround is to wrap the BorderContainer into a dijit.layout.ContentPane and call .set('content', content) on the ContenPane...
Is there a chance to get a method with the same behaviour as dijit.layout.ContentPane.set('content', content) in BorderContainer in a future release?
Regards,
Florian
Change History (1)
comment:1 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I think you mean set(content, ...) with markup for the parser, like this?
I can see why you are asking for that, but it would require loading the parser, which isn't currently required by BorderContainer. So I can't see adding that.
I can imagine a set("children", ...) method though, where you would maybe download JSON over XHR and then use it to construct child widgets.