[Dojo-interest] What do you use Grid for?

Peter Svensson psvensson at gmail.com
Fri Dec 21 19:39:13 UTC 2007


Aaargh!  I didn't know / managed to not read that part. I have spent the
best part of a week *almost* instantiating dijits inside a unecessarily
complciated composite dijit I tried to make for a custioemr (yes a
frankenstein shopping cart. How did you guess? :) This makes things a bit
different again. Hmm. widgetsInTemplate:true, you say. I'm all for it.

Very glad to hear that not only is there action to create an easy-to-use ST
alternative for the entry-level users, but also (actually quite analog with
the rest of dojo) a complete solution with emphasis on generality. Good to
hear that.

Cheers,
PS

On Dec 21, 2007 8:16 PM, Dustin Machi <dmachi at dojotoolkit.org> wrote:

>
> >
> > Fortunately, I've come up with a possible solution :)
> >
> > In principle it would be fairly easy (ok, moderately) to make a new
> dijit
> > which mixes in Grid and which creates its of HtmlTableStore, and with
> just
> > one div entry in the actual code, provide the same polished
> just-what-I-need
> > functionality as the old (fairly well working) SortableTable did.
> >
>
> I think there are a few plans for something similar happening now.
> Basically allowing all widgets that use dojo.data as a source provide
> markedup version of the data. In the case of a combobox its <option>
> tags, and in the case of table UL/LI, and a table would of course make
> sense here.
>
>
> > I could do it now if I knew how to use .. hmm, actually I think I could
> do
> > it. Maybe :)  Give me the week and I see what Ic an do. I'm kind of
> > flummoxed that you can't actually use existing dijit's inside the
> template
> > of a new dijit you're creating. In this particular case it will probably
> not
> > be needed, though.
> >
>
> I'm not sure I follow what you mean by "use existing dijits inside the
> template of a new dijit".
>
> Does this mean already existing instances of a widget or including
> widgets in your new widgets template.  The former I'm not sure makes
> sense, but you could write code that moves and existing node into your
> template after it has been created.  The latter does work and simply
> requires the widgetsInTemplate property to be set to true when using the
> _Tempalted mixin.
>
> Dustin
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20071221/c588c5ef/attachment.html 


More information about the Dojo-interest mailing list