[Dojo-interest] Any way for grid to handle json where items objects can have one or more non-primitives?

Jared Jurkiewicz jared.jurkiewicz at gmail.com
Sun Apr 5 23:54:30 EDT 2009

You can assign a 'formatter' function for a cell that allows you to
manipulate the value from the item however you like.

-- Jared

On Sun, Apr 5, 2009 at 8:35 PM, David M. Karr
<davidmichaelkarr at gmail.com> wrote:
> I'm now trying to set up a grid that shows two columns.  One of them
> reflects the value of a primitive in the "item", and one of them
> reflects the value of a primitive in a nested object in the item.  I've
> had no real trouble with json structures where the item is all
> primitives, but this is the first time I've had an item that had at
> least one non-primitive, and it's causing me various problems.  Is it
> possible to handle this scenario, or do I have to produce a "normalized"
> json for this where the item object is all primitives?  Before I start
> detailing the problems I'm having, I'd like to know whether it's even
> possible (examples would be very useful).
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

More information about the Dojo-interest mailing list