Damn of course. A smart labelFunction that uses labelField. I like it.
Should be reusable too. I'll post it here in a couple hours, working on
something else right now :)
-Josh

On Wed, Jun 11, 2008 at 12:50 PM, ben.clinkinbeard <
[EMAIL PROTECTED]> wrote:

>   I don't think you can do field.subField but you could use
> labelFunctions to accomplish essentially the same thing. Heck, you
> might even be able to set dataField = "field.subField" and then use a
> generic labelFunction that does something like return
> data[column.dataField]. Just a guess on that part but labelFunction is
> definitely the core of what you'll need.
>
> HTH,
> Ben
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys,
> > Is there a well-used trick to reference "field.subField" rather than
> just
> > "field" when setting up datagrid columns? I'd rather not have to
> flatten my
> > DTOs or add a bunch of redundant get functions if possible - the DTO is
> > bindable and the fields are just public vars.
> >
> > Cheers,
> > -Josh
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for
> thee."
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
>
>  
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to